PHP Warning

blarg - March 21, 2006 - 08:27
Project:Troll
Version:4.6.x-1.x-dev
Component:Code
Category:bug report
Priority:minor
Assigned:Unassigned
Status:closed
Description

Whenever I take actions in administer > troll, I receive the following warning:

warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/my_username/sites/my_site/public/modules/troll.module on line 383.

Offending line of code is:

$pager = theme('pager', NULL, 25, 0, array_merge(tablesort_pager(), $edit));

I wasn't able to see where $edit was defined, but I didn't look very hard.

$ php -v
PHP 5.1.2-1+b1 (cli) (built: Mar 20 2006 04:17:24)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies

Drupal version 4.6.6

#1

deekayen - May 5, 2009 - 20:27
Status:active» fixed

http://drupal.org/cvs?commit=207322

#2

System Message - May 19, 2009 - 20:30
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.