gforge-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gforge-commits] gforge/www/include features_boxes.php,1.20,1.21


From: tperdue
Subject: [Gforge-commits] gforge/www/include features_boxes.php,1.20,1.21
Date: Mon, 15 Mar 2004 17:51:08 -0600

Update of /cvsroot/gforge/gforge/www/include
In directory db.perdue.net:/home/tperdue/share/www.gforge.org/www/include

Modified Files:
        features_boxes.php 
Log Message:
changing groups.type to groups.type_id

Index: features_boxes.php
===================================================================
RCS file: /cvsroot/gforge/gforge/www/include/features_boxes.php,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- features_boxes.php  13 Feb 2004 11:24:46 -0000      1.20
+++ features_boxes.php  15 Mar 2004 23:51:05 -0000      1.21
@@ -118,7 +118,7 @@
 function show_newest_projects() {
        global $Language;
        $sql =  "SELECT group_id,unix_group_name,group_name,register_time FROM 
groups " .
-               "WHERE is_public=1 AND status='A' AND type=1 AND register_time 
> 0 " .
+               "WHERE is_public=1 AND status='A' AND type_id=1 AND 
register_time > 0 " .
                "ORDER BY register_time DESC";
        $res_newproj = db_query($sql,10);
 
@@ -166,7 +166,7 @@
                "FROM groups,project_weekly_metric ".
                "WHERE groups.group_id=project_weekly_metric.group_id ".
                "AND groups.is_public=1 ".
-               "AND groups.type=1  ".
+               "AND groups.type_id=1  ".
                "AND groups.status != 'D'  ".
                "ORDER BY ranking ASC";
        $result=db_query($sql,20);
@@ -183,4 +183,4 @@
        return $return;
 }
 
-?>
\ No newline at end of file
+?>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]