Changeset 249

Show
Ignore:
Timestamp:
04/08/08 00:22:29 (9 months ago)
Author:
shupp
Message:

Get rid of some notices in Accounts_modifyAccount, fix changePass check

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Framework/Module/Accounts/Modify.php

    r223 r249  
    6767            $dot_qmail = $this->user->readFile($this->domain, $_REQUEST['account'], '.qmail'); 
    6868        } catch (Net_Vpopmaild_Exception $e) { 
     69            $dot_qmail = ''; 
    6970        } 
    7071        $defaults = $this->parseHomeDotqmail($dot_qmail, $account_info); 
     
    155156            $dot_qmail = $this->user->readFile($this->domain, $_REQUEST['account'], '.qmail'); 
    156157        } catch (Net_Vpopmaild_Exception $e) { 
     158            $dot_qmail = ''; 
    157159        } 
    158160        $defaultsOrig = $this->parseHomeDotqmail($dot_qmail, $account_info); 
     
    182184            $this->user->modUser($this->domain, $_REQUEST['account'], $account_info); 
    183185        } 
    184         if (isset($changePass) && $account == $this->user->loginUser['name']  
     186        if ($changePass && $account == $this->user->loginUser['name']  
    185187                && $this->domain == $this->user->loginUser['domain']) { 
    186188            $crypt = new Crypt_Blowfish((string)Framework::$site->config->mcryptKey);