Commit 8ebcf4aa authored by Dries's avatar Dries

- Patch by JonBob: killed a warning.

parent 7f32eb1f
...@@ -171,7 +171,7 @@ function menu_disable_item($mid) { ...@@ -171,7 +171,7 @@ function menu_disable_item($mid) {
/** /**
* Menu callback; dispatch to the appropriate menu item edit function. * Menu callback; dispatch to the appropriate menu item edit function.
*/ */
function menu_edit_item($mid) { function menu_edit_item($mid = 0) {
$op = $_POST['op']; $op = $_POST['op'];
$edit = $_POST['edit']; $edit = $_POST['edit'];
$output = ''; $output = '';
......
...@@ -171,7 +171,7 @@ function menu_disable_item($mid) { ...@@ -171,7 +171,7 @@ function menu_disable_item($mid) {
/** /**
* Menu callback; dispatch to the appropriate menu item edit function. * Menu callback; dispatch to the appropriate menu item edit function.
*/ */
function menu_edit_item($mid) { function menu_edit_item($mid = 0) {
$op = $_POST['op']; $op = $_POST['op'];
$edit = $_POST['edit']; $edit = $_POST['edit'];
$output = ''; $output = '';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment