From 2b6a53c4d1a1cfdb0ab695c5be27cdaa68c17e50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steffen=20Schro=CC=88der?= Date: Sun, 5 Jan 2014 12:21:09 +0100 Subject: [PATCH] script settings fix --- application/core/Configurators/ScriptSettings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/core/Configurators/ScriptSettings.php b/application/core/Configurators/ScriptSettings.php index 73690ea5..89bdc80d 100644 --- a/application/core/Configurators/ScriptSettings.php +++ b/application/core/Configurators/ScriptSettings.php @@ -99,7 +99,7 @@ class ScriptSettings implements ConfiguratorMenu, CallbackListener { trigger_error($mysqli->error); return false; } - if ($result->num_rows) { + if ($result->num_rows <= 0) { $result->close(); return true; }