Skip to content

Commit

Permalink
Update ModuleModel.php
Browse files Browse the repository at this point in the history
  • Loading branch information
C-Lodder committed Mar 13, 2019
1 parent 7c99526 commit af43336
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion administrator/components/com_modules/Model/ModuleModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -721,7 +721,7 @@ public function getItem($pk = null)

// Convert to the CMSObject before adding other data.
$properties = $table->getProperties(1);
$this->_cache[$pk] = ArrayHelper::toObject($properties, 'CMSObject');
$this->_cache[$pk] = ArrayHelper::toObject($properties, CMSObject::class);

// Convert the params field to an array.
$registry = new Registry($table->params);
Expand Down

0 comments on commit af43336

Please sign in to comment.