[Jifty-commit] r2537 - in jifty/branches/template-declare: .

jifty-commit at lists.jifty.org jifty-commit at lists.jifty.org
Sat Jan 20 01:39:52 EST 2007


Author: trs
Date: Sat Jan 20 01:39:23 2007
New Revision: 2537

Modified:
   jifty/branches/template-declare/   (props changed)
   jifty/branches/template-declare/lib/Jifty/View/Declare/Base.pm

Log:
 r18999 at zot:  tom | 2007-01-20 01:38:11 -0500
 Reverting r2043, in it's propagated form in TD


Modified: jifty/branches/template-declare/lib/Jifty/View/Declare/Base.pm
==============================================================================
--- jifty/branches/template-declare/lib/Jifty/View/Declare/Base.pm	(original)
+++ jifty/branches/template-declare/lib/Jifty/View/Declare/Base.pm	Sat Jan 20 01:39:23 2007
@@ -1361,11 +1361,8 @@
                 $writer->emptyTag( "ignored",
                     id => $action->warning_div_id($arg) );
             }
-            elsif (
-                not $action->arguments->{$arg}->{mandatory}
-                and ( not defined $action->argument_value($arg)
+            elsif ( not defined $action->argument_value($arg)
                     or length $action->argument_value($arg) == 0 )
-              )
             {
                 $writer->emptyTag( "blank", id => $action->error_div_id($arg) );
                 $writer->emptyTag( "blank",


More information about the Jifty-commit mailing list