From: Hypolite Petovan Date: Tue, 23 Jan 2018 23:57:33 +0000 (-0500) Subject: Add missing dba::inArray to Addon::reload X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0601ba1309964189f46abc9d141f6c6ca0b07053;p=friendica.git Add missing dba::inArray to Addon::reload --- diff --git a/src/Core/Addon.php b/src/Core/Addon.php index af3d843a9a..b1f401d28b 100644 --- a/src/Core/Addon.php +++ b/src/Core/Addon.php @@ -4,10 +4,9 @@ */ namespace Friendica\Core; -use Friendica\App; use Friendica\Core\Config; -use Friendica\Core\System; use Friendica\Database\DBM; + use dba; require_once 'include/dba.php'; @@ -83,7 +82,7 @@ class Addon if (strlen($addons)) { $r = dba::select('addon', [], ['installed' => 1]); if (DBM::is_result($r)) { - $installed = $r; + $installed = dba::inArray($r); } else { $installed = []; }