script settings fix
This commit is contained in:
parent
d28269ade6
commit
2b6a53c4d1
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user