From 4a663a48537acab7ca81215fde58fc80491f1329 Mon Sep 17 00:00:00 2001 From: kasimi Date: Sun, 16 Oct 2016 12:58:26 +0200 Subject: [PATCH] Fixed pruning return value for inconsistent config values --- core/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/functions.php b/core/functions.php index 5d0f799..fe186d7 100644 --- a/core/functions.php +++ b/core/functions.php @@ -317,7 +317,7 @@ public function mchat_prune() if (empty($this->settings->prune_modes[$prune_mode])) { - return 0; + return array(); } $sql_array = array(