Bugfix: Old dba function was used

2022.09-rc
Michael 2018-03-11 12:19:41 +00:00
rodzic 28615ae24b
commit 26a6846467
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -81,7 +81,7 @@ function directory_content(App $a)
$publish = ((Config::get('system', 'publish_all')) ? '' : " AND `publish` = 1 " );
$cnt = dba::select_first("SELECT COUNT(*) AS `total` FROM `profile`
$cnt = dba::selectFirst("SELECT COUNT(*) AS `total` FROM `profile`
LEFT JOIN `user` ON `user`.`uid` = `profile`.`uid`
WHERE `is-default` = 1 $publish AND `user`.`blocked` = 0 $sql_extra "
);