[drupal-devel] [bug] Supernumerary messages "The menu item has been removed"

killes drupal-devel at drupal.org
Sun Aug 21 17:27:09 UTC 2005


Issue status update for 
http://drupal.org/node/27669
Post a follow up: 
http://drupal.org/project/comments/add/27669

 Project:      Drupal
 Version:      cvs
 Component:    menu system
 Category:     bug reports
 Priority:     normal
 Assigned to:  Anonymous
 Reported by:  wiz
 Updated by:   killes at www.drop.org
-Status:       active
+Status:       patch (code needs work)

we use && not "and".




killes at www.drop.org



Previous comments:
------------------------------------------------------------------------

Thu, 28 Jul 2005 11:07:22 +0000 : wiz

Attachment: http://drupal.org/files/issues/node_delete_menu_msg.patch (583 bytes)

When deleting a node, the function
modules/menu.module:menu_node_form_delete() removes a custom menu entry
for the node if it exists.  The problem is that it will always print a
message about a removed menu item, even though nothing has been
actually deleted. Suggested fix: use db_affected_rows().







More information about the drupal-devel mailing list