Summary:
lib\class.mr_dbrecord.php: is_filename_ignored() fails
Detailed Description:
lib\class.mr_dbrecord.php line 180:
$query = 'SELECT ignored_count,ignored_since FROM
'.cms_db_prefix().'module_modulerepository_ignore WHERE filename = ?';
$tmp = $db->GetOne($query,array($filename));
if( is_array($tmp) && count($tmp) ) {
GetOne() only returns a single column/value which is not an array. An array is
expected in the 3rd line.
Suggested change:
$tmp = $db->GetOne($query,array($filename)); --> $tmp =
$db->GetRow($query,array($filename));