From: Tim Otten Date: Sat, 20 Feb 2021 01:18:16 +0000 (-0800) Subject: Joomla::synchronizeUsers - Fix notice due to old style reference X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=d5acf0e0b688a072f94a8f9e15505508a681e867;p=civicrm-core.git Joomla::synchronizeUsers - Fix notice due to old style reference This fixes a PHP notice when synchronizing all users/contacts: PHP Notice: Only variables should be assigned by reference in ...CRM/Utils/System/Joomla.php:855 --- diff --git a/CRM/Utils/System/Joomla.php b/CRM/Utils/System/Joomla.php index 823fef3360..7651aeb823 100644 --- a/CRM/Utils/System/Joomla.php +++ b/CRM/Utils/System/Joomla.php @@ -842,7 +842,7 @@ class CRM_Utils_System_Joomla extends CRM_Utils_System_Base { $mail = 'email'; $name = 'name'; - $JUserTable = &JTable::getInstance('User', 'JTable'); + $JUserTable = JTable::getInstance('User', 'JTable'); $db = $JUserTable->getDbo(); $query = $db->getQuery(TRUE);