|
From: Benjamin C. <bc...@us...> - 2001-08-08 14:21:31
|
Update of /cvsroot/phpbt/phpbt
In directory usw-pr-cvs1:/tmp/cvs-serv9729
Modified Files:
include.php
Log Message:
Only allow users with a security level above "User" to be the owner of a component
Index: include.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/include.php,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- include.php 2001/08/08 13:18:15 1.19
+++ include.php 2001/08/08 14:21:27 1.20
@@ -241,7 +241,7 @@
}
break;
case 'owner' :
- $q->query("Select UserID, Email from User where UserLevel order by Email");
+ $q->query("Select UserID, Email from User where UserLevel > 1 order by Email");
while ($row = $q->grab()) {
if ($value == $row['UserID']) $sel = ' selected';
else $sel = '';
|