Fix bug in xmpp on/off (ticket #528)
darcs-hash:20080819071321-f6e2c-a7ee326669eba917fff8dd37c85c13db46c93f19.gz
This commit is contained in:
parent
5022a9efb9
commit
ebe35f56ae
@ -225,7 +225,7 @@ class XMPPDaemon {
|
||||
$orig = clone($user);
|
||||
$user->jabbernotify = $notify;
|
||||
$result = $user->update($orig);
|
||||
if (!$id) {
|
||||
if (!$result) {
|
||||
$last_error = &PEAR::getStaticProperty('DB_DataObject','lastError');
|
||||
$this->log(LOG_ERR,
|
||||
'Could not set notify flag to ' . $notify .
|
||||
|
Loading…
Reference in New Issue
Block a user