From c3ed0a6e92bf4022b4c128c8a1fa088d7bb5364f Mon Sep 17 00:00:00 2001 From: Thomas Zilio Date: Fri, 21 Dec 2018 11:14:13 +0100 Subject: [PATCH] Bugfix minore --- src/Models/Setting.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Models/Setting.php b/src/Models/Setting.php index 3b6f4c988..2ba8e69b6 100644 --- a/src/Models/Setting.php +++ b/src/Models/Setting.php @@ -22,7 +22,7 @@ class Setting extends Model // Valore corrispettivo $query = str_replace('query=', '', $this->tipo); if ($query != $this->tipo) { - $data = $database->fetchArray($query); + $data = database()->fetchArray($query); if (!empty($data)) { $value = $data[0]['descrizione']; }