]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/action.php
Script to convert OMB subscriptions to OStatus subscriptions
[quix0rs-gnu-social.git] / lib / action.php
index fa9ddb9110393ed5fede1512c94d6dc142dfeb6c..a7e0eb33baa62dcf5594bcc8264b725fc9419733 100644 (file)
@@ -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;