31
2
mirror of https://github.com/joomla-extensions/jedchecker.git synced 2024-06-06 15:30:48 +00:00

Fix error, Strict standards: Only variables should be assigned by reference

Signed-off-by: Craig Phillips <craig@craigphillips.biz>
This commit is contained in:
Craig Phillips 2013-11-11 16:36:56 +11:00
parent 049d59bd4d
commit 27c581edc2

View File

@ -71,7 +71,7 @@ class com_jedcheckerInstallerScript
public function loadLanguage()
{
$extension = $this->extension;
$jlang =& JFactory::getLanguage();
$jlang = JFactory::getLanguage();
$path = $this->parent->getParent()->getPath('source') . '/administrator';
$jlang->load($extension, $path, 'en-GB', true);
$jlang->load($extension, $path, $jlang->getDefault(), true);