[Fusionforge-commits] r7621 - branches/Branch_4_8/gforge/www/include

Olivier Meunier musicoliv at libremir.placard.fr.eu.org
Thu May 7 11:17:49 CEST 2009


Author: musicoliv
Date: 2009-05-07 11:17:49 +0200 (Thu, 07 May 2009)
New Revision: 7621

Modified:
   branches/Branch_4_8/gforge/www/include/Layout.class.php
Log:
Fixed Quick Jump to...

Modified: branches/Branch_4_8/gforge/www/include/Layout.class.php
===================================================================
--- branches/Branch_4_8/gforge/www/include/Layout.class.php	2009-05-06 20:07:43 UTC (rev 7620)
+++ branches/Branch_4_8/gforge/www/include/Layout.class.php	2009-05-07 09:17:49 UTC (rev 7621)
@@ -1073,7 +1073,7 @@
 		if (!session_loggedin()) {
 			return '';
 		} else {
-			$res=db_query("SELECT * FROM groups NATURAL JOIN user_group WHERE user_id='".user_getid()."' ORDER BY group_name");
+			$res=db_query("SELECT * FROM groups JOIN user_group USING (group_id) WHERE user_id='".user_getid()."' ORDER BY group_name");
 echo db_error();
 			if (!$res || db_numrows($res) < 1) {
 				return '';




More information about the Fusionforge-commits mailing list