adjust
This commit is contained in:
parent
0f13cc8ff2
commit
70fa8ef886
@ -528,6 +528,9 @@ class SoloController
|
|||||||
|
|
||||||
if (count($newlist) == 0) {
|
if (count($newlist) == 0) {
|
||||||
unset($gamelevel['levelinfo'][$level]);
|
unset($gamelevel['levelinfo'][$level]);
|
||||||
|
if (count($gamelevel['levelinfo']) == 0) {
|
||||||
|
$gamelevel['levelinfo'] = array();
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
$gamelevel['levelinfo'][$level] = $newlist;
|
$gamelevel['levelinfo'][$level] = $newlist;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user