[Jifty-commit] r4618 - in jifty/trunk: lib/Jifty/Action/Record
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Wed Dec 5 16:39:03 EST 2007
Author: sartak
Date: Wed Dec 5 16:39:00 2007
New Revision: 4618
Modified:
jifty/trunk/ (props changed)
jifty/trunk/lib/Jifty/Action/Record/Update.pm
Log:
r48702 at onn: sartak | 2007-12-05 16:33:29 -0500
Fix the current_user_can call
Modified: jifty/trunk/lib/Jifty/Action/Record/Update.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Action/Record/Update.pm (original)
+++ jifty/trunk/lib/Jifty/Action/Record/Update.pm Wed Dec 5 16:39:00 2007
@@ -139,7 +139,7 @@
# every value until the action succeeds because nothing changed
# <Sartak> it doesn't matter for HM but for other apps it may
- unless ($self->record->current_user_can('update', $field => $value)) {
+ unless ($self->record->current_user_can('update', column => $field, value => $value)) {
$self->result->field_error($field, _('Permission denied'));
next;
}
More information about the Jifty-commit
mailing list