cvs: pear-core /PEAR/Command Auth.php

From: Date: Sun, 05 Mar 2006 21:23:22 +0000
Subject: cvs: pear-core /PEAR/Command Auth.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-core+get-4612@lists.php.net to get a copy of this message
cellog Sun Mar 5 21:23:22 2006 UTC Modified files: /pear-core/PEAR/Command Auth.php Log: remove err suppression @ http://cvs.php.net/viewcvs.cgi/pear-core/PEAR/Command/Auth.php?r1=1.23&r2=1.24&diff_format=u Index: pear-core/PEAR/Command/Auth.php diff -u pear-core/PEAR/Command/Auth.php:1.23 pear-core/PEAR/Command/Auth.php:1.24 --- pear-core/PEAR/Command/Auth.php:1.23 Thu Mar 2 18:14:13 2006 +++ pear-core/PEAR/Command/Auth.php Sun Mar 5 21:23:21 2006 @@ -16,7 +16,7 @@ * @author Greg Beaver <cellog@php.net> * @copyright 1997-2006 The PHP Group * @license http://www.php.net/license/3_0.txt PHP License 3.0 - * @version CVS: $Id: Auth.php,v 1.23 2006/03/02 18:14:13 cellog Exp $ + * @version CVS: $Id: Auth.php,v 1.24 2006/03/05 21:23:21 cellog Exp $ * @link http://pear.php.net/package/PEAR * @since File available since Release 0.1 */ @@ -115,7 +115,7 @@ $remote = &$this->config->getRemote(); $username = $this->config->get('username'); if (empty($username)) { - $username = @$_ENV['USER']; + $username = isset($_ENV['USER']) ? $_ENV['USER'] : null; } $this->ui->outputData("Logging in to $server.", $command);

« previous php.pear.core (#4612) next »