diff options
Diffstat (limited to 'lib/action.php')
-rw-r--r-- | lib/action.php | 2 |
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; |