mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-07 00:48:55 +00:00
Rename DBA::is_result to DBA::isResult
This commit is contained in:
parent
332ea212b5
commit
f4ad0d3721
11 changed files with 76 additions and 76 deletions
|
@ -107,7 +107,7 @@ function forumdirectory_content(&$a)
|
|||
|
||||
$r = q("SELECT COUNT(*) AS `total` FROM `profile` LEFT JOIN `user` ON `user`.`uid` = `profile`.`uid`"
|
||||
. " WHERE `is-default` = 1 $publish AND `user`.`blocked` = 0 AND `page-flags` = 2 $sql_extra ");
|
||||
if (DBA::is_result($r)) {
|
||||
if (DBA::isResult($r)) {
|
||||
$a->set_pager_total($r[0]['total']);
|
||||
}
|
||||
|
||||
|
@ -120,7 +120,7 @@ function forumdirectory_content(&$a)
|
|||
intval($a->pager['itemspage'])
|
||||
);
|
||||
|
||||
if (DBA::is_result($r)) {
|
||||
if (DBA::isResult($r)) {
|
||||
if (in_array('small', $a->argv)) {
|
||||
$photo = 'thumb';
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue