Rename DBA::is_result to DBA::isResult
This commit is contained in:
committed by
Hypolite Petovan
parent
0ec44f3e8a
commit
ecea7425f8
@@ -18,7 +18,7 @@ function msearch_post(App $a) {
|
||||
dbesc($search)
|
||||
);
|
||||
|
||||
if (DBA::is_result($r))
|
||||
if (DBA::isResult($r))
|
||||
$total = $r[0]['total'];
|
||||
|
||||
$results = [];
|
||||
@@ -29,7 +29,7 @@ function msearch_post(App $a) {
|
||||
intval($perpage)
|
||||
);
|
||||
|
||||
if (DBA::is_result($r)) {
|
||||
if (DBA::isResult($r)) {
|
||||
foreach($r as $rr)
|
||||
$results[] = [
|
||||
'name' => $rr['name'],
|
||||
|
||||
Reference in New Issue
Block a user