From 0d4a5715d8b532e4aecce156e4c0ff804e809e98 Mon Sep 17 00:00:00 2001 From: Domingo Llanes Date: Thu, 22 Dec 2016 08:35:14 +0100 Subject: [PATCH] Fix: Error with nodetype menu. Fixed an error with the nodetype name in chmodNode run. --- bin/menu/mnuAdd.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/menu/mnuAdd.php b/bin/menu/mnuAdd.php index f41e920..15fc4e3 100644 --- a/bin/menu/mnuAdd.php +++ b/bin/menu/mnuAdd.php @@ -68,7 +68,7 @@ public static function runMe(&$params, $debug = true) { if ($respAddNode['ok'] === TRUE) { $respChmodNode = driverCommand::run('chmodNode', array( - 'nodetype' => 'node_menu', + 'nodetype' => 'menu', 'nid' => $respAddNode['nid'], 'flags' => '3908' ));