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 |
Jump to:
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
http://drupal.org/cvs?commit=207322
#2
Automatically closed -- issue fixed for 2 weeks with no activity.