[Jifty-commit] jifty branch, master, updated. 508c4c5e390ab069b250e9b3ef2faf64afffe247

Jifty commits jifty-commit at lists.jifty.org
Wed Jan 13 16:37:54 EST 2010


The branch, master has been updated
       via  508c4c5e390ab069b250e9b3ef2faf64afffe247 (commit)
      from  b33505cdb6f10c416673dc556b8fd4b79f0ac3f3 (commit)

Summary of changes:
 lib/Jifty/Action/Record/Update.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 508c4c5e390ab069b250e9b3ef2faf64afffe247
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Wed Jan 13 16:37:44 2010 -0500

    The precedence here worries me, so parenthesize :)

diff --git a/lib/Jifty/Action/Record/Update.pm b/lib/Jifty/Action/Record/Update.pm
index 6bd4ce7..9bd94c5 100644
--- a/lib/Jifty/Action/Record/Update.pm
+++ b/lib/Jifty/Action/Record/Update.pm
@@ -37,7 +37,7 @@ sub arguments {
 
     # Mark read-only columns for read-only display
     for my $column ( $self->possible_columns ) {
-        if ( not $column->writable and $column->readable ) {
+        if ( (not $column->writable) and $column->readable ) {
             $arguments->{$column->name}{'render_mode'} = 'read';
         }
     }

-----------------------------------------------------------------------


More information about the Jifty-commit mailing list