summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-02-26 12:28:58 -0500
committerEvan Prodromou <evan@status.net>2010-02-26 12:28:58 -0500
commitea044722e015195c5422556ae279cac71b954ee8 (patch)
treee0f94c527e898ab21fce9cd8ed90f2c1c1bfeee3 /lib
parent200a32b922134f986aa9833e57a6aaa636243e44 (diff)
'on' is what checkboxes use for boolean true
Diffstat (limited to 'lib')
-rw-r--r--lib/action.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/action.php b/lib/action.php
index cc4f4aad0..0a607b42d 100644
--- a/lib/action.php
+++ b/lib/action.php
@@ -974,7 +974,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;