From 0b81fbd5906837e2b35994e094e644764a1fb35f Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Sat, 14 Mar 2015 16:04:03 +0100 Subject: [PATCH] imitate ->boolean with $def=false --- lib/action.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'; }