Skip to content

Commit

Permalink
Update administrator/components/com_languages/Model/LanguageModel.php
Browse files Browse the repository at this point in the history
Co-Authored-By: C-Lodder <lodder15@hotmail.co.uk>
  • Loading branch information
SharkyKZ and C-Lodder committed Mar 13, 2019
1 parent dd179ff commit 2e348fc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public function getItem($langId = null)
}

$properties = $table->getProperties(1);
$value = ArrayHelper::toObject($properties, 'CMSObject');
$value = ArrayHelper::toObject($properties, CMSObject::class);

return $value;
}
Expand Down

0 comments on commit 2e348fc

Please sign in to comment.