Commit fa84c23a authored by Sebastian Kummer's avatar Sebastian Kummer

ZP-1329 Send ReplyBack notification email to the authenticated user, as

he lacks permissions.

Released under the Affero GNU General Public License (AGPL) version 3.
parent 44c7af37
......@@ -497,8 +497,8 @@ class ReplyBackImExporter implements IImportChanges, IExportChanges {
* @return void
*/
private function sendNotificationEmail($message, $oldmessage) {
// get email address and full name of the user
$userinfo = ZPush::GetBackend()->GetUserDetails(Request::GetUser());
// get email address and full name of the user that performed the operation (auth user in all cases)
$userinfo = ZPush::GetBackend()->GetUserDetails(Request::GetAuthUser());
// get the name of the folder
$foldername = "unknown";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment