From f71563d60d9fd44e1523cffb96f949518bd2f957 Mon Sep 17 00:00:00 2001 From: appchecker Date: Thu, 29 Dec 2016 11:10:04 +0300 Subject: [PATCH] CRM-19805: comparing instead of assigning --- CRM/Core/BAO/CMSUser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Core/BAO/CMSUser.php b/CRM/Core/BAO/CMSUser.php index 88e9b40c8a..d8cd5921cc 100644 --- a/CRM/Core/BAO/CMSUser.php +++ b/CRM/Core/BAO/CMSUser.php @@ -196,7 +196,7 @@ class CRM_Core_BAO_CMSUser { } if ($emailName == NULL) { - $errors['_qf_default'] == ts('Could not find an email address.'); + $errors['_qf_default'] = ts('Could not find an email address.'); return $errors; } -- 2.25.1