svn commit: r264580 - user/des/fbp/lib/FBP/Controller

Dag-Erling Smørgrav des at FreeBSD.org
Thu Apr 17 00:34:52 UTC 2014


Author: des
Date: Thu Apr 17 00:34:51 2014
New Revision: 264580
URL: http://svnweb.freebsd.org/changeset/base/264580

Log:
  Fix inverted logic in review code.

Modified:
  user/des/fbp/lib/FBP/Controller/Poll.pm

Modified: user/des/fbp/lib/FBP/Controller/Poll.pm
==============================================================================
--- user/des/fbp/lib/FBP/Controller/Poll.pm	Thu Apr 17 00:34:49 2014	(r264579)
+++ user/des/fbp/lib/FBP/Controller/Poll.pm	Thu Apr 17 00:34:51 2014	(r264580)
@@ -177,7 +177,7 @@ sub review :Chained('poll') :Path :Args(
     # Validate the answers
     try {
 	$poll->validate_answer(%$answers)
-	    unless $poll->active; # hack
+	    if $poll->active; # hack
     } catch {
 	$c->stash(error => $_);
 	$c->detach();


More information about the svn-src-user mailing list