Re: Open Issue :: inactive...

Lukas Kahwe Smith <[email protected]> Tue, 16 Aug 2005 12:39:14 +0200
Newsgroups gmane.comp.php.pear.liveuser
Message-ID <[email protected]>
Jan Bolmeson wrote:
> With the latest CVS-version downloaded 10min ago I get:
> 
> Fatal error: Can't use method return value in write context in
> c:\webserver\php\PEAR\LiveUser.php on line 1056

hmm .. i am kinda busy with other stuff atm

             } else {
                 $is_active = $auth->getProperty('is_active');
                 if (!is_null($is_active) && !$is_active) {
                     $this->status = LIVEUSER_STATUS_ISINACTIVE;
                     break;
                 }
             }

should probably work ..

$is_active will be false or 0 if the user is in active
$is_active will be null if is_active is not enabled

regards,
Lukas