delete XP-levels in reverse order to handle levels correctly
This commit is contained in:
parent
f19a337efa
commit
96ea420e7f
1 changed files with 1 additions and 0 deletions
|
@ -118,6 +118,7 @@
|
|||
// Edit and delete
|
||||
if($validations['edit'] === true)
|
||||
{
|
||||
$xplevels = array_reverse($xplevels);
|
||||
foreach($xplevels as &$xplevel)
|
||||
{
|
||||
// Delete
|
||||
|
|
Loading…
Add table
Reference in a new issue