Skip to content

Commit

Permalink
Merge pull request #3 from tutida/fix_unde_variable
Browse files Browse the repository at this point in the history
fix undefind variables in Helper
  • Loading branch information
tutida authored Sep 8, 2016
2 parents 77d9592 + 006e633 commit 8b43a30
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/View/Helper/PackHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,9 @@ public function render()
{
$variables = PackVariables::getAll();
if (empty($variables)) {
return $scripts;
return;
}

$scripts = '';
$namespace = PackVariables::getNamespace();
$attr = PackVariables::getScriptAttr();

Expand Down

0 comments on commit 8b43a30

Please sign in to comment.