From: <ir...@us...> - 2012-11-06 07:25:36
|
Revision: 10244 http://sourceforge.net/p/xoops/svn/10244 Author: irmtfan Date: 2012-11-06 07:25:31 +0000 (Tue, 06 Nov 2012) Log Message: ----------- bug fix: "all" typo in view all topic page Modified Paths: -------------- XoopsModules/newbb/branches/irmtfan/newbb/changelog-rev10109.txt XoopsModules/newbb/branches/irmtfan/newbb/class/topic.renderer.php Modified: XoopsModules/newbb/branches/irmtfan/newbb/changelog-rev10109.txt =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/changelog-rev10109.txt 2012-10-29 18:38:28 UTC (rev 10243) +++ XoopsModules/newbb/branches/irmtfan/newbb/changelog-rev10109.txt 2012-11-06 07:25:31 UTC (rev 10244) @@ -1,3 +1,8 @@ +date 2012-11-06 +=================================== +1- bug fix: in view all topic page: a typo "all" instead of all when the status is not set +in newbb/class/topic.renderer.php + date 2012-10-28 =================================== 1- bug fix: getRead_cookie should return array. (important) Modified: XoopsModules/newbb/branches/irmtfan/newbb/class/topic.renderer.php =================================================================== --- XoopsModules/newbb/branches/irmtfan/newbb/class/topic.renderer.php 2012-10-29 18:38:28 UTC (rev 10243) +++ XoopsModules/newbb/branches/irmtfan/newbb/class/topic.renderer.php 2012-11-06 07:25:31 UTC (rev 10244) @@ -290,8 +290,8 @@ if (isset($parsed)) return true; if (!isset($this->vars["forum"])) $this->vars["forum"] = null; - //irmtfan parse status for rendering topic correctly - if empty($_GET(status)) it will show all topics include deleted and pendings. - if (!isset($this->vars["status"])) $this->vars["status"] = all; + //irmtfan parse status for rendering topic correctly - if empty($_GET(status)) it will show all topics include deleted and pendings. "all" instead of all + if (!isset($this->vars["status"])) $this->vars["status"] = "all"; foreach ($this->vars as $var => $val) { $this->parseVar($var, $val); |