Index: trunk/kernel/include/category.php =================================================================== diff -u -N -r904 -r916 --- trunk/kernel/include/category.php (.../category.php) (revision 904) +++ trunk/kernel/include/category.php (.../category.php) (revision 916) @@ -1554,7 +1554,7 @@ if(is_object($objSession)) { if(strlen($objSession->GetPersistantVariable($FieldVar))>0) - { + { $Orders[] = trim($TableName.$objSession->GetPersistantVariable($FieldVar) . " ". $objSession->GetPersistantVariable($OrderVar)); } @@ -1635,7 +1635,7 @@ $sql .= " ".$limit; if($objSession->HasSystemPermission("DEBUG.LIST")) echo $sql; - + //echo "SQL: $sql
"; return $this->Query_item($sql); }