Navigation Menu

Skip to content

Commit

Permalink
Dev: fixed issue : undefined variable $file
Browse files Browse the repository at this point in the history
  • Loading branch information
Shnoulle committed Oct 25, 2016
1 parent 5b8edc5 commit fa5b22a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/models/Template.php
Expand Up @@ -233,8 +233,8 @@ public static function getTemplateListWithPreviews()
$aTemplateList=array();
$aStandardTemplates=self::getStandardTemplateList();
foreach($aStandardTemplates as $templateName){
$aTemplateList[$file]['directory'] = $standardtemplaterootdir.DIRECTORY_SEPARATOR.$templateName;
$aTemplateList[$file]['preview'] = $standardtemplaterooturl.'/'.$templateName.'/preview.png';
$aTemplateList[$templateName]['directory'] = $standardtemplaterootdir.DIRECTORY_SEPARATOR.$templateName;
$aTemplateList[$templateName]['preview'] = $standardtemplaterooturl.'/'.$templateName.'/preview.png';
}
if ($usertemplaterootdir && $handle = opendir($usertemplaterootdir))
{
Expand Down

0 comments on commit fa5b22a

Please sign in to comment.