diff options
| author | Christian Fowler <spider@viovio.com> | 2010-02-22 15:32:28 +0000 |
|---|---|---|
| committer | Christian Fowler <spider@viovio.com> | 2010-02-22 15:32:28 +0000 |
| commit | 4e9a8f2a2ed9332feb67679f3524db01b5ea1328 (patch) | |
| tree | c8ed67363cb9e883581a5d8c28a6bcdbf17bd186 | |
| parent | b2452244dd1ee10a7937ec35c44ae85d48e75658 (diff) | |
| download | users-4e9a8f2a2ed9332feb67679f3524db01b5ea1328.tar.gz users-4e9a8f2a2ed9332feb67679f3524db01b5ea1328.tar.bz2 users-4e9a8f2a2ed9332feb67679f3524db01b5ea1328.zip | |
use returned mxErrors in log for verifyMx
| -rw-r--r-- | BitUser.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/BitUser.php b/BitUser.php index f19ac2f..344094f 100644 --- a/BitUser.php +++ b/BitUser.php @@ -1,6 +1,6 @@ <?php /** - * $Header: /cvsroot/bitweaver/_bit_users/BitUser.php,v 1.258 2010/02/18 21:55:25 spiderr Exp $ + * $Header: /cvsroot/bitweaver/_bit_users/BitUser.php,v 1.259 2010/02/22 15:32:28 spiderr Exp $ * * Lib for user administration, groups and permissions * This lib uses pear so the constructor requieres @@ -12,7 +12,7 @@ * All Rights Reserved. See below for details and a complete list of authors. * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See http://www.gnu.org/copyleft/lesser.html for details * - * $Id: BitUser.php,v 1.258 2010/02/18 21:55:25 spiderr Exp $ + * $Id: BitUser.php,v 1.259 2010/02/22 15:32:28 spiderr Exp $ * @package users */ @@ -42,7 +42,7 @@ define( "ACCOUNT_DISABLED", -6 ); * Class that holds all information for a given user * * @author spider <spider@steelsun.com> - * @version $Revision: 1.258 $ + * @version $Revision: 1.259 $ * @package users * @subpackage BitUser */ @@ -438,7 +438,7 @@ class BitUser extends LibertyMime { $mxErrors; $ret = $this->verifyMX( $pEmail, $mxErrors ) ; if ($ret === false) { - bit_log_error('INVALID EMAIL : '.$pEmail.' by '. $_SERVER['REMOTE_ADDR'] .' for '. $this->mErrors['email']); + bit_log_error('INVALID EMAIL : '.$pEmail.' by '. $_SERVER['REMOTE_ADDR'] .' for '. $mxErrors['email']); $pErrors = array_merge( $pErrors, $mxErrors ); } } |
