🚑 fix(simpleplugin) Fix ObjectSelectAttribute

A few typos

issue #6083
parent 56c5d946
......@@ -29,7 +29,7 @@
*/
class ObjectSelectAttribute extends SelectAttribute
{
protected $objectType;
protected $objectTypes;
protected $storeAttr;
protected $displayAttr;
protected $objectFilter = '';
......@@ -57,7 +57,7 @@ class ObjectSelectAttribute extends SelectAttribute
$outputs = [];
foreach ($this->objectTypes as $objectType) {
try {
$infos = objects::infos($this->objectType);
$infos = objects::infos($objectType);
$realStoreAttr = $this->storeAttr;
if (in_array($this->storeAttr, ['nameAttr','mainAttr'])) {
$realStoreAttr = $infos[$this->storeAttr];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment