Skip to content

Commit

Permalink
Task techjoomla#177 fix: retrive correct details about cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
pravinTek committed Sep 4, 2019
1 parent 0c1a4d4 commit 7cbbfe1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions administrator/models/fields/cluster.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ protected function getOptions()
// Create oprion for each cluster
foreach ($clusters as $cluster)
{
$options[] = HTMLHelper::_('select.option', $cluster->id, trim($cluster->name));
$options[] = HTMLHelper::_('select.option', $cluster->cluster_id, trim($cluster->name));
}

if (!$this->loadExternally)
Expand Down Expand Up @@ -123,7 +123,6 @@ protected function getInput()
if (!empty($clusterId))
{
$this->value = $clusterId;
$this->readonly = true;
}

return parent::getInput();
Expand Down

0 comments on commit 7cbbfe1

Please sign in to comment.