aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormatthewt <matthewt@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7>2008-03-09 17:55:45 +0000
committermatthewt <matthewt@03d0b0b2-0e1a-0410-a411-fdb2f4bd65d7>2008-03-09 17:55:45 +0000
commit5344cd2b485ed75397f8b0ae5fba35afd651109a (patch)
treec48e8bb58645e222d9856a2770de2c65f5287fdf
parent07890ce06fdbe05bc194530239862f11b44b4c06 (diff)
downloadreaction-5344cd2b485ed75397f8b0ae5fba35afd651109a.tar.gz
reaction-5344cd2b485ed75397f8b0ae5fba35afd651109a.zip
lost the short-circuit out of can_apply if a field still needs synchronisation
-rw-r--r--lib/Reaction/UI/ViewPort/Action.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Reaction/UI/ViewPort/Action.pm b/lib/Reaction/UI/ViewPort/Action.pm
index 5ccf846..2198085 100644
--- a/lib/Reaction/UI/ViewPort/Action.pm
+++ b/lib/Reaction/UI/ViewPort/Action.pm
@@ -55,6 +55,7 @@ class Action is Object, which {
." because field for ${\$field->attribute->name} needs sync"
);
}
+ return 0;
}
# if e.g. a datetime field has an invalid value that can't be re-assembled
# into a datetime object, the action may be in a consistent state but