Minahito
minah****@users*****
2006年 10月 13日 (金) 13:56:49 JST
Index: xoops2jp/html/core/XCube_PageNavigator.class.php diff -u xoops2jp/html/core/XCube_PageNavigator.class.php:1.1.2.5 xoops2jp/html/core/XCube_PageNavigator.class.php:1.1.2.6 --- xoops2jp/html/core/XCube_PageNavigator.class.php:1.1.2.5 Thu Oct 12 23:11:52 2006 +++ xoops2jp/html/core/XCube_PageNavigator.class.php Fri Oct 13 13:56:49 2006 @@ -1,7 +1,7 @@ <?php /** * @package XCube - * @version $Id: XCube_PageNavigator.class.php,v 1.1.2.5 2006/10/12 14:11:52 minahito Exp $ + * @version $Id: XCube_PageNavigator.class.php,v 1.1.2.6 2006/10/13 04:56:49 minahito Exp $ */ define('XCUBE_PAGENAVI_START', 1); @@ -292,10 +292,7 @@ function getTotalItems() { if ($this->_mIsSpecifedTotalItems == false) { - $total = 0; - $this->mGetTotalItems->call(new XCube_Ref($total)); - $this->setTotalItems($total); - + $this->mGetTotalItems->call(new XCube_Ref($this->mTotal)); $this->_mIsSpecifedTotalItems = true; }