Download & Extend

Some watchdog calls not in D6 format

Project:Imagemenu
Version:6.x-1.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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

Comments

#1

Status:active» fixed

I've reviewed this and it looks good, will be comitted to next version

#2

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.