Index: branches/5.3.x/core/units/phrases/phrase_tp.php =================================================================== diff -u -N -r15677 -r15698 --- branches/5.3.x/core/units/phrases/phrase_tp.php (.../phrase_tp.php) (revision 15677) +++ branches/5.3.x/core/units/phrases/phrase_tp.php (.../phrase_tp.php) (revision 15698) @@ -1,6 +1,6 @@ Application->getUnitOption($this->Prefix, 'TableName') . ' + FROM ' . $this->getUnitConfig()->getTableName() . ' GROUP BY Module'; $cache = $this->Conn->GetCol($sql, 'Module'); } @@ -61,9 +61,9 @@ { static $cache = null; - if ( !isset($cache) ) { + if (!isset($cache)) { $sql = 'SELECT COUNT(*), IF(Module LIKE "Core:%", "Core", Module) AS Module - FROM ' . $this->Application->getUnitOption('email-template', 'TableName') . ' + FROM ' . $this->Application->getUnitConfig('email-template')->getTableName() . ' GROUP BY Module'; $cache = $this->Conn->GetCol($sql, 'Module'); }