[Jifty-commit] r6723 - jifty/trunk/lib/Jifty/Param

Jifty commits jifty-commit at lists.jifty.org
Wed Apr 1 13:42:18 EDT 2009


Author: sartak
Date: Wed Apr  1 13:42:16 2009
New Revision: 6723

Modified:
   jifty/trunk/lib/Jifty/Param/Schema.pm

Log:
Don't push Jifty::Action onto @ISA if the class is already a
Jifty::Action

Modified: jifty/trunk/lib/Jifty/Param/Schema.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Param/Schema.pm	(original)
+++ jifty/trunk/lib/Jifty/Param/Schema.pm	Wed Apr  1 13:42:16 2009
@@ -145,7 +145,8 @@
     }
 
     no strict 'refs';
-    push @{$from . '::ISA'}, 'Jifty::Action';
+    push @{$from . '::ISA'}, 'Jifty::Action'
+        unless $from->isa('Jifty::Action');
     return;
 }
 


More information about the Jifty-commit mailing list