aboutsummaryrefslogtreecommitdiff
path: root/src/router.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/router.php')
-rw-r--r--src/router.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/router.php b/src/router.php
index cfb1dec..ebe645f 100644
--- a/src/router.php
+++ b/src/router.php
@@ -166,8 +166,8 @@ elseif($request->getMethod() === 'POST'){
166 elseif($_GET['menu_edit'] === 'display_in_menu' && isset($json['id']) && isset($json['checked'])){ 166 elseif($_GET['menu_edit'] === 'display_in_menu' && isset($json['id']) && isset($json['checked'])){
167 MenuAndPathsController::displayInMenu($entityManager, $json); 167 MenuAndPathsController::displayInMenu($entityManager, $json);
168 } 168 }
169 elseif($_GET['menu_edit'] === 'edit_url_entry' && isset($json['id']) && isset($json['url_input'])){ 169 elseif($_GET['menu_edit'] === 'url_edit' && isset($json['id']) && isset($json['field']) && isset($json['input_data'])){
170 MenuAndPathsController::editUrlEntry($entityManager, $json); 170 MenuAndPathsController::editUrl($entityManager, $json);
171 } 171 }
172 } 172 }
173 173