]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/frio/theme.php
protect_sprintf calls
[friendica.git] / view / theme / frio / theme.php
index 411e14361108d68fbb92b07e189dfc05696bd152..6621fd554004146cbbce99d18dc82f3ffbfe4481 100644 (file)
@@ -311,7 +311,7 @@ function frio_acl_lookup(App $a, &$results)
 
        $sql_extra = '';
        if ($results['search']) {
-               $search_txt = DBA::escape(protect_sprintf(preg_quote($results['search'])));
+               $search_txt = DBA::escape(Strings::protectSprintf(preg_quote($results['search'])));
                $sql_extra .= " AND (`attag` LIKE '%%" . $search_txt . "%%' OR `name` LIKE '%%" . $search_txt . "%%' OR `nick` LIKE '%%" . $search_txt . "%%') ";
        }