]> git.wh0rd.org - tt-rss.git/commitdiff
Merge branch 'func-missing-quotes' of JustAMacUser/tt-rss into master
authorfox <fox+git@fakecake.org>
Sat, 30 Dec 2017 06:12:22 +0000 (06:12 +0000)
committerGogs <gogs@fake.local>
Sat, 30 Dec 2017 06:12:22 +0000 (06:12 +0000)
include/functions.php

index a9786e49b2a08c70cf143c923efa00d98457f396..107a02843a43443a0c8a10dc1914d44046425b7b 100644 (file)
        // this is used for user http parameters unless HTML code is actually needed
        function clean($param) {
                if (is_array($param)) {
-                       return array_map(strip_tags, $param);
+                       return array_map("strip_tags", $param);
                } else if (is_string($param)) {
                        return strip_tags($param);
                } else {