This merge brings back dbm::is_result() where I could find it.
Merge branch 'develop' of github.com:friendica/friendica into rhaeder-develop Signed-off-by: Roland Haeder <roland@mxchange.org>
This commit is contained in:
@@ -81,7 +81,7 @@ function poco_init(&$a) {
|
||||
dbesc(NETWORK_STATUSNET)
|
||||
);
|
||||
}
|
||||
if(dba::is_result($r))
|
||||
if(dbm::is_result($r))
|
||||
$totalResults = intval($r[0]['total']);
|
||||
else
|
||||
$totalResults = 0;
|
||||
@@ -168,7 +168,7 @@ function poco_init(&$a) {
|
||||
}
|
||||
|
||||
if(is_array($r)) {
|
||||
if(dba::is_result($r)) {
|
||||
if(dbm::is_result($r)) {
|
||||
foreach($r as $rr) {
|
||||
if (!isset($rr['generation'])) {
|
||||
if ($global)
|
||||
|
||||
Reference in New Issue
Block a user