Skip to content

Commit

Permalink
[kernel] fix NOTICE: Only variables should be passed by reference
Browse files Browse the repository at this point in the history
in html/kernel/block.php on line 186
  • Loading branch information
nao-pon committed May 8, 2015
1 parent 280f173 commit 44bc3ed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion html/kernel/block.php
Expand Up @@ -182,7 +182,8 @@ function &buildBlock()
require_once $path;
if ( function_exists($show_func) ) {
// execute the function
$block = $show_func(explode('|', $this->getVar('options', 'N')));
$params = explode('|', $this->getVar('options', 'N'));
$block = $show_func($params);
if ( !$block ) return $ret;
} else return $ret;
} else return $ret;
Expand Down

0 comments on commit 44bc3ed

Please sign in to comment.