From: Mikael Nordfeldth Date: Sat, 14 Mar 2015 15:04:03 +0000 (+0100) Subject: imitate ->boolean with $def=false X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0b81fbd5906837e2b35994e094e644764a1fb35f;p=quix0rs-gnu-social.git imitate ->boolean with $def=false --- diff --git a/lib/action.php b/lib/action.php index 5627b73b6c..a9cc99221d 100644 --- a/lib/action.php +++ b/lib/action.php @@ -1371,7 +1371,7 @@ class Action extends HTMLOutputter // lawsuit * Upstream bug is:: * https://pear.php.net/bugs/bug.php?id=20291 */ - function booleanintstring($key, $def) + function booleanintstring($key, $def=false) { return $this->boolean($key, $def) ? '1' : '0'; }