summaryrefslogtreecommitdiff
path: root/lib/action.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-02-26 12:40:30 -0500
committerEvan Prodromou <evan@status.net>2010-02-26 12:40:30 -0500
commit6781f95c733ed4d678fc4c09926efe195e590359 (patch)
tree5b9c8ea6e0a612a7bf05f5823878fce73bab2f7f /lib/action.php
parentd9d1a77bb02227e6e79392959643404391df2ea0 (diff)
parentc188ae15d926948f1851472f412071329002f403 (diff)
Merge branch 'blacklistplus' into testing
Conflicts: EVENTS.txt
Diffstat (limited to 'lib/action.php')
-rw-r--r--lib/action.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/action.php b/lib/action.php
index fa9ddb911..a7e0eb33b 100644
--- a/lib/action.php
+++ b/lib/action.php
@@ -976,7 +976,7 @@ class Action extends HTMLOutputter // lawsuit
if (is_null($arg)) {
return $def;
- } else if (in_array($arg, array('true', 'yes', '1'))) {
+ } else if (in_array($arg, array('true', 'yes', '1', 'on'))) {
return true;
} else if (in_array($arg, array('false', 'no', '0'))) {
return false;