mirror of
				https://git.code.sf.net/p/seeddms/code
				synced 2025-10-31 05:11:27 +00:00 
			
		
		
		
	fix sending mails when document/folder was moved
This commit is contained in:
		
							parent
							
								
									d6aa0e4f60
								
							
						
					
					
						commit
						d74b9ed9de
					
				|  | @ -912,7 +912,7 @@ class SeedDMS_NotificationService { | |||
| 		// if user is not owner and owner not already in list of notifiers, then
 | ||||
| 		// send notification to owner
 | ||||
| 		if ($user->getID() != $document->getOwner()->getID() && | ||||
| 			false === SeedDMS_Core_DMS::inList($document->getOwner(), $notifyList['users'])) { | ||||
| 			false === SeedDMS_Core_DMS::inList($document->getOwner(), $nl['users'])) { | ||||
| 			$this->toIndividual($user, $document->getOwner(), $subject, $message, $params, SeedDMS_NotificationService::RECV_OWNER); | ||||
| 		} | ||||
| 	} /* }}} */ | ||||
|  | @ -946,7 +946,7 @@ class SeedDMS_NotificationService { | |||
| 		} | ||||
| 		// if user is not owner send notification to owner
 | ||||
| 		if ($user->getID() != $folder->getOwner()->getID() && | ||||
| 			false === SeedDMS_Core_DMS::inList($folder->getOwner(), $notifyList['users'])) { | ||||
| 			false === SeedDMS_Core_DMS::inList($folder->getOwner(), $nl['users'])) { | ||||
| 			$this->toIndividual($user, $folder->getOwner(), $subject, $message, $params, SeedDMS_NotificationService::RECV_OWNER); | ||||
| 		} | ||||
| 	} /* }}} */ | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Uwe Steinmann
						Uwe Steinmann