NobuNobu
nobun****@users*****
2006年 1月 25日 (水) 00:34:21 JST
Index: xoops2jp/html/kernel/XCube_Controller.class.php diff -u xoops2jp/html/kernel/XCube_Controller.class.php:1.1.2.4 xoops2jp/html/kernel/XCube_Controller.class.php:1.1.2.5 --- xoops2jp/html/kernel/XCube_Controller.class.php:1.1.2.4 Sat Jan 14 17:24:03 2006 +++ xoops2jp/html/kernel/XCube_Controller.class.php Wed Jan 25 00:34:21 2006 @@ -311,8 +311,8 @@ function _processFilter() { - foreach($this->mFilterChain as $filter) { - $filter->preFilter($this); ///< @todo I must change to call method directly. + for ($i = 0; $i < count($this->mFilterChain); $i++) { + $this->mFilterChain[$i]->preFilter($this); } } @@ -334,8 +334,8 @@ function _processPreBlockFilter() { - foreach($this->mFilterChain as $filter) { - $filter->preBlockFilter($this); + for ($i = 0; $i < count($this->mFilterChain); $i++) { + $this->mFilterChain[$i]->preBlockFilter($this); } }