logo       
Google Custom Search
    AddThis Social Bookmark Button

cvs: pear-core /PEAR/Command Auth.php: msg#00032

Subject: cvs: pear-core /PEAR/Command Auth.php
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@xxxxxxx>
  * @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);
         




Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>