[xoops-cvslog 2161] CVS update: xoops2jp/html/modules/base/admin/blocks

アーカイブの一覧に戻る

Minahito minah****@users*****
2006年 2月 3日 (金) 17:15:05 JST


Index: xoops2jp/html/modules/base/admin/blocks/AdminSideMenu.class.php
diff -u xoops2jp/html/modules/base/admin/blocks/AdminSideMenu.class.php:1.1.2.5 xoops2jp/html/modules/base/admin/blocks/AdminSideMenu.class.php:1.1.2.6
--- xoops2jp/html/modules/base/admin/blocks/AdminSideMenu.class.php:1.1.2.5	Fri Feb  3 15:53:02 2006
+++ xoops2jp/html/modules/base/admin/blocks/AdminSideMenu.class.php	Fri Feb  3 17:15:05 2006
@@ -54,8 +54,8 @@
 		// TODO : We don't use handler and write sql directly.
 		//
 		$sql = "SELECT {mod}.* FROM {mod},{perm} ".
-		        "WHERE {mod}.mid={perm}.gperm_itemid AND {perm}.gperm_name='module_admin' AND {perm}.gperm_groupid IN ({groups}) ".
-		        "ORDER BY {mod}.weight";
+		        "WHERE {mod}.isactive=1 AND {mod}.mid={perm}.gperm_itemid AND {perm}.gperm_name='module_admin' AND {perm}.gperm_groupid IN ({groups}) ".
+		        "ORDER BY {mod}.weight, {mod}.mid";
 
 		$replaceMap=array("mod"=>$db->prefix("modules"),
 		                 "perm"=>$db->prefix("group_permission"),


xoops-cvslog メーリングリストの案内
アーカイブの一覧に戻る