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