From: appchecker Date: Thu, 29 Dec 2016 08:10:04 +0000 (+0300) Subject: CRM-19805: comparing instead of assigning X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=f71563d60d9fd44e1523cffb96f949518bd2f957;p=civicrm-core.git CRM-19805: comparing instead of assigning --- 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; }