|
From: Benjamin C. <bc...@us...> - 2002-04-04 18:35:33
|
Update of /cvsroot/phpbt/phpbt/inc
In directory usw-pr-cvs1:/tmp/cvs-serv24522/inc
Modified Files:
functions.php
Log Message:
Only show active versions and components -- duh
Index: functions.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/inc/functions.php,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- functions.php 3 Apr 2002 18:18:02 -0000 1.17
+++ functions.php 4 Apr 2002 18:35:30 -0000 1.18
@@ -73,8 +73,8 @@
? $querystart." where active > 0 order by {$box}_name"
: $querystart." where project_id not in ($restricted_projects)".
" and active > 0 order by {$box}_name",
- 'component' => $querystart." where project_id = $project order by {$box}_name",
- 'version' => $querystart." where project_id = $project order by {$box}_id desc"
+ 'component' => $querystart." where project_id = $project and active = 1 order by {$box}_name",
+ 'version' => $querystart." where project_id = $project and active = 1 order by {$box}_id desc"
);
}
|