Skip to content

Commit

Permalink
Dev: getGlobalSetting() only accepts one argument
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Jun 22, 2017
1 parent 4bb6882 commit 4d9021c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/controllers/admin/templates.php
Expand Up @@ -770,7 +770,7 @@ protected function _templatesummary($templatename, $screenname, $editfile, $temp
if (Yii::app()->session['templateeditormode'] !== 'default') {
$sTemplateEditorMode = Yii::app()->session['templateeditormode'];
} else {
$sTemplateEditorMode = getGlobalSetting('templateeditormode', 'full');
$sTemplateEditorMode = getGlobalSetting('templateeditormode');
}
$sExtension=substr(strrchr($editfile, '.'), 1);
switch ($sExtension)
Expand Down

2 comments on commit 4d9021c

@Shnoulle
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you 💋

@olleharstedt
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No probs :D

Please sign in to comment.