Correct typo.

This commit is contained in:
Andrew McMillan 2007-06-02 14:45:03 +12:00
parent 96d10cb529
commit 52181d6784

View File

@ -106,7 +106,7 @@ if ( $qry->Exec("always") && $row = $qry->Fetch() ) {
$_known_users = array();
function getUserByName( $username ) {
// Provide some basic caching in case this ends up being overused.
if ( isset( $_known_users[$username] ) ) return $_known_users[$username] );
if ( isset( $_known_users[$username] ) ) return $_known_users[$username];
$qry = new PgQuery( "SELECT * FROM usr WHERE lower(username) = lower(?) ", $username );
if ( $qry->Exec('always',__LINE__,__FILE__) && $qry->rows == 1 ) {
@ -168,4 +168,4 @@ function getStatusMessage($status) {
return $http_status_codes[$status];
}
?>
?>