Index: trunk/kernel/include/parseditem.php =================================================================== diff -u -r1063 -r1069 --- trunk/kernel/include/parseditem.php (.../parseditem.php) (revision 1063) +++ trunk/kernel/include/parseditem.php (.../parseditem.php) (revision 1069) @@ -2621,7 +2621,7 @@ function LoadNewItems($attribs) { - global $objSession,$objCountCache; + global $objSession,$objCountCache,$objConfig; $sql = $this->SqlNewItems($attribs); @@ -2648,8 +2648,8 @@ else $this->QueryItemCount=$CachedCount; - - return $this->Query_Item($sql); + $ret = $this->Query_Item($sql); + return $ret; } function SqlPopItems($attribs)