Invalid argument supplied foreach

Aaron Hawkins - December 19, 2008 - 11:52
Project:Alinks
Version:6.x-1.0-rc1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

If you visit the edit Alinks tab before having added any links you get this error:

warning: Invalid argument supplied for foreach() in /home/transl5/public_html/pixelclever.com/sites/all/modules/alinks/alinks.module on line 434.

It seems to me that there needs to be a conditional check to see if there is information for the foreach to process before outputing the table and form.

#1

chinajason - April 4, 2009 - 13:21

really?I will try it

 
 

Drupal is a registered trademark of Dries Buytaert.