Branch 'ticket/3335' - lib/api
Daniel Hoffend
hoffend at kolabsys.com
Wed Feb 18 22:41:48 CET 2015
lib/api/kolab_api_service_form_value.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit e712eaf3caff0e5e114410bdb2cdb9d7b2ace1eb
Author: Daniel Hoffend <dh at dotlan.net>
Date: Wed Feb 18 22:41:45 2015 +0100
use $my_primary_domain parameter to reduce one lookup
diff --git a/lib/api/kolab_api_service_form_value.php b/lib/api/kolab_api_service_form_value.php
index 2dd9aa9..6b32523 100644
--- a/lib/api/kolab_api_service_form_value.php
+++ b/lib/api/kolab_api_service_form_value.php
@@ -1657,7 +1657,7 @@ class kolab_api_service_form_value extends kolab_api_service
$valid = false;
Log::trace("_validate_email_address_in_any_of_mydomains(\$mail_address = " . var_export($mail_address, TRUE) . ")");
- if (in_array($email_domain, $this->_get_valid_domains())) {
+ if (in_array($email_domain, $this->_get_valid_domains($my_primary_domain))) {
$valid = true;
}
More information about the commits
mailing list