Index: trunk/core/kernel/utility/http_query.php =================================================================== diff -u -N -r8005 -r8041 --- trunk/core/kernel/utility/http_query.php (.../http_query.php) (revision 8005) +++ trunk/core/kernel/utility/http_query.php (.../http_query.php) (revision 8041) @@ -425,6 +425,11 @@ */ function getTemplateName($t) { + if (isset($this->Get['t']) && $this->Get['t']) { + // template name is passed directly in url (GET method) + $t = $this->Get['t']; + } + if (is_numeric($t)) { $sql = 'SELECT CONCAT(FilePath, \'/\', FileName) FROM '.TABLE_PREFIX.'ThemeFiles