View Single Post
Old October 26th, 2007, 03:10 AM   #1 (permalink)
Kirby
Member
 
Join Date: Jun 2004
Posts: 164
[Bug] Unintialized array in search.php

Under certain conditions (for example, if you are only searching in a custom field), array $sfields might not be initialized in action searchresults of search.php.

This causes an array_merge() call around line 122 to fail in PHP 5.
As a result of this, the user will get DB error.
Kirby is offline