From 9350823dff1e2591b3e492c072575138a8ced475 Mon Sep 17 00:00:00 2001 From: Hani Rouatbi <23016064+hanirouatbi1@users.noreply.github.com> Date: Wed, 24 Aug 2022 12:44:41 +0100 Subject: [PATCH] ignore conversion of false to array --- includes/cache.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/includes/cache.php b/includes/cache.php index 8628c0c..691f000 100755 --- a/includes/cache.php +++ b/includes/cache.php @@ -126,6 +126,8 @@ if (! ($config = $cache->get('data_config'))) if (! ($olang = $cache->get('data_lang' . $config['language']))) { + $olang = []; + $query = [ 'SELECT' => 'l.word, l.trans', 'FROM' => "{$dbprefix}lang l",