Index: trunk/core/kernel/db/db_tag_processor.php =================================================================== diff -u -N -r8360 -r8369 --- trunk/core/kernel/db/db_tag_processor.php (.../db_tag_processor.php) (revision 8360) +++ trunk/core/kernel/db/db_tag_processor.php (.../db_tag_processor.php) (revision 8369) @@ -550,7 +550,6 @@ $currency =& $this->Application->recallObject('curr.-'.$iso, null, Array('skip_autoload' => true)); if( !$currency->isLoaded() ) $currency->Load($iso, 'ISO'); - $symbol = $currency->GetDBField('Symbol'); if (!$symbol) $symbol = $currency->GetDBField('ISO').' '; if ($currency->GetDBField('SymbolPosition') == 0) { @@ -1400,11 +1399,12 @@ } } - function GridInfo($params) { + function GridInfo($params) + { $object =& $this->GetList($params); /* @var $object kDBList */ - switch ($params['type']) - { + + switch ($params['type']) { case 'filtered': return $object->GetRecordsCount(); case 'total': @@ -1416,7 +1416,7 @@ case 'total_pages': return $object->GetTotalPages(); case 'needs_pagination': - return $object->RecordsCount > $object->PerPage; + return ($object->RecordsCount > $object->PerPage) || ($object->Page > 1); } }