]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - application/Utils.php
Empty tag search will look for not tagged links
[github/shaarli/Shaarli.git] / application / Utils.php
index 5c077450e3a65016f55b0ede559dad4552b47e2b..87e5cc8fff3de21b4c27890cfdd4ee53eac8475c 100644 (file)
@@ -91,6 +91,10 @@ function endsWith($haystack, $needle, $case = true)
  */
 function escape($input)
 {
+    if (is_bool($input)) {
+        return $input;
+    }
+
     if (is_array($input)) {
         $out = array();
         foreach($input as $key => $value) {