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:
commit
c825cc8d0d
691 changed files with 121501 additions and 35639 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue