[drupal-devel] [bug] Supernumerary messages "The menu item has been removed"
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: wiz -Status: patch (code needs work) +Status: patch (code needs review) Attachment: http://drupal.org/files/issues/node_delete_menu_msg_1.patch (582 bytes) ok I changed and to && wiz 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(). ------------------------------------------------------------------------ Sun, 21 Aug 2005 17:27:07 +0000 : killes@www.drop.org we use && not "and".
participants (1)
-
wiz