mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
fix error when sending notification after owner change (see 4dda2549c7
)
This commit is contained in:
parent
ea5218ea03
commit
7fc1a62b75
|
@ -1235,7 +1235,7 @@ class SeedDMS_NotificationService {
|
|||
/* Send mail to old owner only if the currently logged in user is not the
|
||||
* owner and the owner is not already in the list of notifiers.
|
||||
*/
|
||||
if($user->getID() != $oldowner()->getID() && false === SeedDMS_Core_DMS::inList($oldowner, $notifyList['users']))
|
||||
if($user->getID() != $oldowner->getID() && false === SeedDMS_Core_DMS::inList($oldowner, $notifyList['users']))
|
||||
$this->toIndividual($user, $oldowner, $subject, $message, $params, SeedDMS_NotificationService::RECV_OWNER);
|
||||
}
|
||||
} /* }}} */
|
||||
|
@ -1264,7 +1264,7 @@ class SeedDMS_NotificationService {
|
|||
/* Send mail to old owner only if the currently logged in user is not the
|
||||
* owner and the owner is not already in the list of notifiers.
|
||||
*/
|
||||
if($user->getID() != $oldowner()->getID() && false === SeedDMS_Core_DMS::inList($oldowner, $notifyList['users']))
|
||||
if($user->getID() != $oldowner->getID() && false === SeedDMS_Core_DMS::inList($oldowner, $notifyList['users']))
|
||||
$this->toIndividual($user, $oldowner, $subject, $message, $params, SeedDMS_NotificationService::RECV_OWNER);
|
||||
}
|
||||
} /* }}} */
|
||||
|
|
Loading…
Reference in New Issue
Block a user