|
From: Benjamin C. <bc...@us...> - 2001-08-28 04:14:02
|
Update of /cvsroot/phpbt/phpbt
In directory usw-pr-cvs1:/tmp/cvs-serv8505
Modified Files:
include.php
Log Message:
Adjust for the login field on the newaccount page
Index: include.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/include.php,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- include.php 2001/08/25 18:37:39 1.42
+++ include.php 2001/08/28 04:13:59 1.43
@@ -54,8 +54,8 @@
$me2 = $HTTP_SERVER_VARS['REQUEST_URI'];
$selrange = 30;
$now = time();
-$_gv = $HTTP_GET_VARS;
-$_pv = $HTTP_POST_VARS;
+$_gv = &$HTTP_GET_VARS;
+$_pv = &$HTTP_POST_VARS;
$all_db_fields = array(
'bug_id' => 'ID',
@@ -440,7 +440,7 @@
}
// Check to see if the user is trying to login
-if (isset($HTTP_POST_VARS['login'])) {
+if (isset($HTTP_POST_VARS['dologin'])) {
if (isset($HTTP_POST_VARS['sendpass'])) {
list($email, $password) = $q->grab("select email, password from auth_user where login = '$username' and active > 0");
if (!$q->num_rows()) {
|