Skip to content

Commit

Permalink
Dev: quick fix
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisGac committed Jul 5, 2017
1 parent b96be29 commit 9a0bf7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions application/core/LS_Twig_Extension.php
Expand Up @@ -67,7 +67,7 @@ public static function registerTemplateCssFile($sTemplateCssFileName)
$oTemplate = self::getTemplateForRessource($sTemplateCssFileName);

Yii::app()->getClientScript()->registerCssFile(
$oTemplate->sTemplateUrl .
$oTemplate->getTemplateURL() .
$sTemplateCssFileName
);
}
Expand Down Expand Up @@ -272,7 +272,7 @@ public static function unregisterScriptFile($name)
* Unregister all packages/script files for AJAX rendering
*/
public static function unregisterScriptForAjax()
{
{
$oTemplate = Template::model()->getInstance();
$sTemplatePackageName = 'limesurvey-'.$oTemplate->sTemplateName;
self::unregisterPackage($sTemplatePackageName);
Expand Down

0 comments on commit 9a0bf7b

Please sign in to comment.