Index: branches/5.2.x/core/units/helpers/priority_helper.php =================================================================== diff -u -r15145 -r15262 --- branches/5.2.x/core/units/helpers/priority_helper.php (.../priority_helper.php) (revision 15145) +++ branches/5.2.x/core/units/helpers/priority_helper.php (.../priority_helper.php) (revision 15262) @@ -1,6 +1,6 @@ Application->getUnitOption($event->Prefix, 'IDField'); $table_name = $this->Application->getUnitOption($event->Prefix, 'TableName'); - $constrain = $this->normalizeConstrain($constrain); + if ( $constrain ) { + $constrain = $this->normalizeConstrain($constrain); + } + if ( $this->Application->IsTempMode($event->Prefix, $event->Special) ) { $table_name = $this->Application->GetTempName($table_name, 'prefix:' . $event->Prefix); }