script settings fix

This commit is contained in:
Steffen Schröder 2014-01-05 12:21:09 +01:00
parent d28269ade6
commit 2b6a53c4d1

View File

@ -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;
}