Permalink
Browse files

[kernel] fix NOTICE: Only variables should be passed by reference

in html/kernel/block.php on line 186
  • Loading branch information...
nao-pon committed May 8, 2015
1 parent 280f173 commit 44bc3ed8dbce87d2610c5d7e6a450a1e1aecfef9
Showing with 2 additions and 1 deletion.
  1. +2 −1 html/kernel/block.php
View
@@ -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;

0 comments on commit 44bc3ed

Please sign in to comment.