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 15, 2016
1 parent 02a018b commit 2f56bab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/controllers/UploaderController.php
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ function run($actionID)
$oTemplate = Template::model()->getInstance('', $aSurveyInfo['sid']);
foreach ($oTemplate->packages as $package)
{
App()->getClientScript()->registerPackage($package);
App()->getClientScript()->registerPackage((string) $package);
}
foreach ($oTemplate->config->files->css->filename as $cssFile)
{
Expand Down

0 comments on commit 2f56bab

Please sign in to comment.