imitate ->boolean with $def=false

This commit is contained in:
Mikael Nordfeldth 2015-03-14 16:04:03 +01:00
parent 4f2095ea00
commit 0b81fbd590

View File

@ -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';
}