[xoops-cvslog 3955] CVS update: xoops2jp/html/modules/legacyRender/admin/forms

Back to archive index

Minahito minah****@users*****
2006年 8月 5日 (土) 15:21:05 JST


Index: xoops2jp/html/modules/legacyRender/admin/forms/TplsetFilterForm.class.php
diff -u xoops2jp/html/modules/legacyRender/admin/forms/TplsetFilterForm.class.php:1.1.2.6 xoops2jp/html/modules/legacyRender/admin/forms/TplsetFilterForm.class.php:1.1.2.7
--- xoops2jp/html/modules/legacyRender/admin/forms/TplsetFilterForm.class.php:1.1.2.6	Mon Jul 10 20:12:11 2006
+++ xoops2jp/html/modules/legacyRender/admin/forms/TplsetFilterForm.class.php	Sat Aug  5 15:21:05 2006
@@ -26,9 +26,9 @@
 
 	function fetch()
 	{
-		$this->mSort = isset($_REQUEST['sort']) ? intval($_REQUEST['sort']) : 0;
+		$this->mSort = isset($_REQUEST['sort']) ? intval(xoops_getrequest('sort')) : TPLSET_SORT_KEY_DEFAULT;
 	
-		if (!isset($this->mSort[abs($this->mSort)])) {
+		if (!isset($this->mSortKeys[abs($this->mSort)])) {
 			$this->mSort = TPLSET_SORT_KEY_DEFAULT;
 		}
 	


xoops-cvslog メーリングリストの案内
Back to archive index