Commit: 5d5debad406fb4ea468a4a91984ef1031876fb3a Author: Rasmus Lerdorf <[email protected]> Sat, 16 Jun 2018 16:37:47 -0700 Parents: c14bb87b01ee504a27531aee4bb27fb37b301032 Branches: master
Link: http://git.php.net/?p=web/bugs.git;a=commitdiff;h=5d5debad406fb4ea468a4a91984ef1031876fb3a Log: Fix another notice Changed paths: M include/functions.php M www/fix.php Diff: diff --git a/include/functions.php b/include/functions.php index 2954d8c..845b831 100644 --- a/include/functions.php +++ b/include/functions.php @@ -64,7 +64,7 @@ $state_types = array ( /** * Authentication */ -function verify_password($user, $pass) +function verify_user_password($user, $pass) { global $errors; @@ -165,7 +165,7 @@ function bugs_authenticate (&$user, &$pw, &$logged_in, &$user_flags) $auth_user->handle = $user; $auth_user->email = "{$user}@php.net"; $auth_user->name = $user; - } elseif ($user != '' && $pw != '' && verify_password($user, $pw)) { + } elseif ($user != '' && $pw != '' && verify_user_password($user, $pw)) { $user_flags = BUGS_DEV_USER; $logged_in = 'developer'; $auth_user = new stdClass; diff --git a/www/fix.php b/www/fix.php index eae3720..825e9ff 100644 --- a/www/fix.php +++ b/www/fix.php @@ -60,7 +60,7 @@ if ($errors) { <form method="post" action="fix.php"> <input type="hidden" name="id" value="<?php echo $bug_id; ?>"> -<?php // Note: same block is used also in bug.php! +<?php // Note: same block is used also in bug.php! if ($logged_in == 'developer') { ?> <div class="explain"> @@ -76,7 +76,7 @@ if ($logged_in == 'developer') { <label for="svnuser">php.net Username:</label> <input type="text" id="svnuser" name="user" value="<?php echo htmlspecialchars($user) ?>" size="10" maxlength="20"> <label for="svnpw">php.net Password:</label> - <input type="password" id="svnpw" name="pw" value="<?php echo htmlspecialchars($pwd) ?>" size="10"> + <input type="password" id="svnpw" name="pw" value="<?php echo htmlspecialchars($pw) ?>" size="10"> <label for="save">Remember:</label><input style="vertical-align:middle;" type="checkbox" id="save" name="save" <?php echo !empty($_POST['save']) ? 'checked="checked"' : ''; ?>> </div> </div> -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
