fixed unrecognised property name "email"in egw_info->user in Asynchronous services, replaced with "account_email"

This commit is contained in:
Hadi Nategh 2013-07-04 13:29:22 +00:00
parent 5e90755cd6
commit 0f7a28d437

View File

@ -55,7 +55,7 @@ class uiasyncservice
if ($_POST['test']) if ($_POST['test'])
{ {
if (strpos($GLOBALS['egw_info']['user']['email'],'@') === false) if (strpos($GLOBALS['egw_info']['user']['account_email'],'@') === false)
{ {
echo '<p><b>'.lang("You have no email address for your user set !!!")."</b></p>\n"; echo '<p><b>'.lang("You have no email address for your user set !!!")."</b></p>\n";
} }