|
From: Javier S. <ja...@us...> - 2001-09-03 17:36:10
|
Update of /cvsroot/phpbt/phpbt
In directory usw-pr-cvs1:/tmp/cvs-serv29196
Modified Files:
include.php
Log Message:
build_select() change : mail -> login & userlevel > 1 replaced by active > 0
Index: include.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/include.php,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -r1.48 -r1.49
--- include.php 2001/09/03 17:00:27 1.48
+++ include.php 2001/09/03 17:36:07 1.49
@@ -326,11 +326,11 @@
}
break;
case 'owner' :
- $q->query("select user_id, email from ".TBL_AUTH_USER." where user_level > 1 order by email");
+ $q->query("select user_id, login from ".TBL_AUTH_USER." where active > 0 order by login");
while ($row = $q->grab()) {
if ($value == $row['user_id']) $sel = ' selected';
else $sel = '';
- $text .= "<option value=\"{$row['user_id']}\"$sel>{$row['email']}</option>";
+ $text .= "<option value=\"{$row['user_id']}\"$sel>{$row['login']}</option>";
}
break;
default :
|