Skip to content

Commit

Permalink
Dev: Remove double ->->
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Mar 1, 2016
1 parent afde111 commit 52d2937
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/models/Template.php
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ public static function getTemplateConfiguration($sTemplateName='', $iSurveyId=''
if ( self::isOldTemplate($oTemplate->path) )
{
$oTemplate->config = simplexml_load_file(Yii::app()->getConfig("standardtemplaterootdir").DIRECTORY_SEPARATOR.'/minimal-config.xml');
$oTemplate->->config->engine->cssframework = null;
$oTemplate->config->engine->cssframework = null;
}
else
{
Expand Down

3 comments on commit 52d2937

@Shnoulle
Copy link
Collaborator

Choose a reason for hiding this comment

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

Always test before push ......

@olleharstedt
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Your editor should catch it, if it uses php -l to check for syntax. But I would also like to use scrutinizer for all developers, it has a lot of good tips. Maybe a topic for the meeting. :)

@Shnoulle
Copy link
Collaborator

Choose a reason for hiding this comment

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

I receive the scrutinizer mail after your fix. And here : i don't use my editor like i must use it ....

Please sign in to comment.