Some watchdog calls not in D6 format

hovel - July 25, 2009 - 22:10
Project:Imagemenu
Version:6.x-1.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

When i edit an image menu item and later open the "Recent logs" status page i get folowing errors:

warning: Invalid argument supplied for foreach() in /var/www/vhosts/zuiderhuis.com/httpdocs/includes/common.inc on line 884.
warning: strtr() [function.strtr]: The second argument is not an array. in /var/www/vhosts/zuiderhuis.com/httpdocs/includes/common.inc on line 901.

This is because the watchdog function calls in function imagemenu_edit_item_submit (imagemenu.admin.inc) have not been converted to the D6 format.

The attached patch correct this problem.
This patch is a combination of issue http://drupal.org/node/523354 and this issue.

Regards,
hovel

AttachmentSize
imagemenu.admin_.inc_2.patch1.38 KB
 
 

Drupal is a registered trademark of Dries Buytaert.