]> git.wh0rd.org - tt-rss.git/commitdiff
Add missing quotes to array_map.
authorJustAMacUser <noreply@example.org>
Sat, 30 Dec 2017 06:00:56 +0000 (01:00 -0500)
committerJustAMacUser <noreply@example.org>
Sat, 30 Dec 2017 06:00:56 +0000 (01:00 -0500)
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 {