Skip to content

Commit

Permalink
Dev: Cast XML object to string to avoid PHP warning
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Jul 11, 2016
1 parent 4bd3739 commit c6319e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/controllers/survey/index.php
Expand Up @@ -43,7 +43,7 @@ public function run()

foreach($oTemplate->packages as $package)
{
App()->getClientScript()->registerPackage($package);
App()->getClientScript()->registerPackage((string) $package);
}
App()->getClientScript()->registerScriptFile(Yii::app()->getConfig('generalscripts')."survey_runtime.js");

Expand Down

0 comments on commit c6319e1

Please sign in to comment.