X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fmsearch.php;h=a652bc8ed87b92d86a646a3043b932b1f79ea65a;hb=4ca68c7af05b7b41e1b04936b9080802ca2b7716;hp=675a94fe392c46386637db5433f2d0d773327597;hpb=6189f6c8e76305ae5a29a685e3ec5a418ff92941;p=friendica.git diff --git a/mod/msearch.php b/mod/msearch.php index 675a94fe39..a652bc8ed8 100644 --- a/mod/msearch.php +++ b/mod/msearch.php @@ -2,6 +2,7 @@ use Friendica\App; use Friendica\Core\System; +use Friendica\Database\DBM; function msearch_post(App $a) { @@ -17,7 +18,7 @@ function msearch_post(App $a) { dbesc($search) ); - if (dbm::is_result($r)) + if (DBM::is_result($r)) $total = $r[0]['total']; $results = array(); @@ -28,7 +29,7 @@ function msearch_post(App $a) { intval($perpage) ); - if (dbm::is_result($r)) { + if (DBM::is_result($r)) { foreach($r as $rr) $results[] = array( 'name' => $rr['name'],