Author: gregory.szorc
Description:
On line 230 of the most recent version of database.php a call to array_merge is
made. The first argument to this function is a string, where it should be an
array. This causes the WHERE statement to be truncated to nothing. To fix
this, change the line to read:
array_merge(array($condition) , array( 'page_id = gis_page' ) )
I am not sure if earlier versions of PHP allow a parameter to be a string, but I
can definitely say there is an issue with PHP 5.1.x.
Version: unspecified
Severity: normal
OS: Linux
Platform: PC