Permalink
Browse files

Merge pull request #17 from urmaul/master

registerScript() chain fix
  • Loading branch information...
tonydspaniard committed Feb 19, 2013
2 parents a28d03a + 9f40356 commit 22639ba1efbe84c0ab83615096771bf749de4e01
Showing with 1 addition and 1 deletion.
  1. +1 −1 extensions/EScriptBoost/EClientScriptBoost.php
@@ -40,6 +40,6 @@ public function registerScript($id, $script, $position=self::POS_READY)
$compressed = EScriptBoost::minifyJs($script);
Yii::app()->cache->set($id, $compressed, $this->cacheDuration);
}
- parent::registerScript($id, $compressed, $position);
+ return parent::registerScript($id, $compressed, $position);
}
}

0 comments on commit 22639ba

Please sign in to comment.