Permalink
Browse files

Fix: Error with nodetype menu.

Fixed an error with the nodetype name in chmodNode run.
  • Loading branch information...
1 parent 661ba26 commit 0d4a5715d8b532e4aecce156e4c0ff804e809e98 @DomingoLlanes DomingoLlanes committed on GitHub Dec 22, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/menu/mnuAdd.php
View
@@ -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'
));

0 comments on commit 0d4a571

Please sign in to comment.