projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f3375c
)
Joomla::synchronizeUsers - Fix notice due to old style reference
author
Tim Otten
<totten@civicrm.org>
Sat, 20 Feb 2021 01:18:16 +0000
(17:18 -0800)
committer
Tim Otten
<totten@civicrm.org>
Fri, 26 Feb 2021 00:09:02 +0000
(16:09 -0800)
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
CRM/Utils/System/Joomla.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Utils/System/Joomla.php
b/CRM/Utils/System/Joomla.php
index 823fef336072bd99bb593c2fa6605b0517e9a594..7651aeb82392fc4d6f81bdfa3cc0a5dc4a450fd8 100644
(file)
--- 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);