From 5c05a2ef50f680683ec0622482fc8c7788e63eea Mon Sep 17 00:00:00 2001 From: Juan Ferrer Toribio Date: Wed, 29 Nov 2017 13:55:51 +0100 Subject: [PATCH] Mailer bugs solved --- debian/changelog | 2 +- package.json | 2 +- rest/misc/mail.php | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/debian/changelog b/debian/changelog index aa5e925b..966e2605 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -hedera-web (1.405.23) stable; urgency=low +hedera-web (1.405.24) stable; urgency=low * Initial Release. diff --git a/package.json b/package.json index 66ca4f13..29a62535 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hedera-web", - "version": "1.405.23", + "version": "1.405.24", "description": "Verdnatura web page", "license": "GPL-3.0", "repository": { diff --git a/rest/misc/mail.php b/rest/misc/mail.php index c6da11d5..3fb0c6f5 100755 --- a/rest/misc/mail.php +++ b/rest/misc/mail.php @@ -23,7 +23,7 @@ class Mail extends Vn\Lib\Method try { $mail = $mailer->createObject ($row->to, $row->text, $row->subject); - $mail->AddReplyTo ($row->reply_to, $conf->sender_name); + $mail->AddReplyTo ($row->reply_to, $row->reply_to); if (!empty ($row->path)) { @@ -47,7 +47,7 @@ class Mail extends Vn\Lib\Method } $db->query ('UPDATE mail SET sent = #, error = # WHERE id = #', - [$sent, $status, $row['id']]); + [$sent, $status, $row->id]); } $db->query ('COMMIT');