Index: trunk/kernel/include/customfield.php =================================================================== diff -u -r4446 -r4758 --- trunk/kernel/include/customfield.php (.../customfield.php) (revision 4446) +++ trunk/kernel/include/customfield.php (.../customfield.php) (revision 4758) @@ -107,7 +107,7 @@ $table = $this->Application->getUnitOption($main_prefix.'-cdata', 'TableName'); if ($temp_table) { - $table = kTempTablesHandler::GetTempName($table); + $table = $this->Application->GetTempName($table); } $sql = 'SELECT *