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
|
// Edit and delete
|
||||||
if($validations['edit'] === true)
|
if($validations['edit'] === true)
|
||||||
{
|
{
|
||||||
|
$xplevels = array_reverse($xplevels);
|
||||||
foreach($xplevels as &$xplevel)
|
foreach($xplevels as &$xplevel)
|
||||||
{
|
{
|
||||||
// Delete
|
// Delete
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue