foreach() wants arrays

AlexisWilke - October 31, 2009 - 22:50
Project:Boost
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

I get those warnings all the time now (Version from 2009-10-31):

  • warning: array_unique() [function.array-unique]: The argument should be an array in /usr/clients/www/drupal/sites/all/modules/boost/boost.module on line 1440.
  • warning: Invalid argument supplied for foreach() in /usr/clients/www/drupal/sites/all/modules/boost/boost.module on line 1463.
  • warning: Invalid argument supplied for foreach() in /usr/clients/www/drupal/sites/all/modules/boost/boost.module on line 1512.
  • Any idea why that could be?

    Thank you.
    Alexis

    #1

    mikeytown2 - October 31, 2009 - 23:12
    Priority:critical» normal
    Status:active» needs review

    Thanks for reporting! This patch should fix them. Nothing critical, just very annoying; boost should still function like its supposed to.

    AttachmentSize
    boost-619914.patch 4.21 KB

    #2

    mikeytown2 - October 31, 2009 - 23:21
    Status:needs review» fixed

    committed

    #3

    AlexisWilke - October 31, 2009 - 23:28

    Okay! That looks good, thank you. 8-) I'll let you know if I get another one like that.

    #4

    System Message - November 14, 2009 - 23:30
    Status:fixed» closed

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

     
     

    Drupal is a registered trademark of Dries Buytaert.