Skip to content

Commit

Permalink
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions administrator/components/com_menus/src/Model/ItemModel.php
Original file line number Diff line number Diff line change
@@ -1424,6 +1424,13 @@ public function save($data)
return false;
}

// Rebuild the paths of the menu item's children:
if (!$table->rebuild($table->id, $table->lft, $table->level, $table->path)) {
$this->setError($table->getError());

return false;
}

// Process the child rows
if (!empty($children)) {
// Remove any duplicates and sanitize ids.

0 comments on commit 9276728

Please sign in to comment.