Skip to content

Commit

Permalink
Fix syntax error, adding a missed open brace
Browse files Browse the repository at this point in the history
  • Loading branch information
Anderson Grudtner Martins committed Dec 7, 2014
1 parent 1679842 commit fc24758
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/com_config/model/templates.php
Expand Up @@ -109,8 +109,9 @@ protected function preprocessForm(JForm $form, $data, $group = 'content')
}

if (!file_exists($formFile))
{
// If config.xml not found, fall back to templateDetails.xml
$formFile = JPath::clean(JPATH_BASE . '/templates/' . $template . '/templateDetails.xml');
$formFile = JPath::clean(JPATH_BASE . '/templates/' . $template . '/templateDetails.xml');
}

if (file_exists($formFile))
Expand Down

0 comments on commit fc24758

Please sign in to comment.