From b7edca2ea2f7d1810c7ad9937ba9b2173afc7150 Mon Sep 17 00:00:00 2001 From: Jakub Moscicki Date: Wed, 30 Sep 2015 14:05:37 +0200 Subject: [PATCH] add more verbose error message when email address is wrong (share by link) --- core/ajax/share.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/ajax/share.php b/core/ajax/share.php index 6d0a6a4e3b91..51df7181e363 100644 --- a/core/ajax/share.php +++ b/core/ajax/share.php @@ -115,7 +115,7 @@ } else { OCP\JSON::error(array( 'data' => array( - 'message' => $l->t("Couldn't send mail to following users: %s ", + 'message' => $l->t("Couldn't send mail to following users: %s. Check if email address is correct.", implode(', ', $result) ) ) @@ -157,7 +157,7 @@ $l = \OC::$server->getL10N('core'); OCP\JSON::error(array( 'data' => array( - 'message' => $l->t("Couldn't send mail to following users: %s ", + 'message' => $l->t("Couldn't send mail to following users: %s. Check if email address is correct. ", implode(', ', $result) ) )