diff --git a/typo3/sysext/tstemplate_info/class.tx_tstemplateinfo.php b/typo3/sysext/tstemplate_info/class.tx_tstemplateinfo.php
index e505c6c..255311e 100644
--- a/typo3/sysext/tstemplate_info/class.tx_tstemplateinfo.php
+++ b/typo3/sysext/tstemplate_info/class.tx_tstemplateinfo.php
@@ -477,7 +477,7 @@ class tx_tstemplateinfo extends t3lib_extobjbase {
$fI = t3lib_div::split_fileref($e[file]);
if (@is_file($path) && t3lib_div::inList($this->pObj->textExtensions, $fI['fileext'])) {
if (filesize($path) < $TCA['sys_template']['columns']['resources']['config']['max_size']*1024) {
- $fileContent = t3lib_div::getUrl($path);
+ $fileContent = t3lib_div::getURL($path);
$outCode = $GLOBALS['LANG']->getLL('file'). ' ' . $e[file] . '
';
$outCode.= '';
$outCode.= '';