X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Ffrio%2Ftheme.php;fp=view%2Ftheme%2Ffrio%2Ftheme.php;h=6621fd554004146cbbce99d18dc82f3ffbfe4481;hb=0efcbe5d158ed7673c8a9a70936deb5eb707dc63;hp=411e14361108d68fbb92b07e189dfc05696bd152;hpb=46d7767fd0571eb363a5c6aa62301c12055288df;p=friendica.git diff --git a/view/theme/frio/theme.php b/view/theme/frio/theme.php index 411e143611..6621fd5540 100644 --- a/view/theme/frio/theme.php +++ b/view/theme/frio/theme.php @@ -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 . "%%') "; }