* ProcessFieldSettings if pivot stage is published.
This commit is contained in:
@@ -197,7 +197,7 @@ class pivotModel extends model
|
|||||||
$pivots[$index]->used = $this->screen->checkIFChartInUse($pivot->id, 'pivot', $screenList);
|
$pivots[$index]->used = $this->screen->checkIFChartInUse($pivot->id, 'pivot', $screenList);
|
||||||
}
|
}
|
||||||
|
|
||||||
if($isObject) $pivots[$index] = $this->processFieldSettings($pivots[$index]);
|
if($isObject and $pivots[$index]->stage == 'published') $pivots[$index] = $this->processFieldSettings($pivots[$index]);
|
||||||
}
|
}
|
||||||
|
|
||||||
return $isObject ? reset($pivots) : $pivots;
|
return $isObject ? reset($pivots) : $pivots;
|
||||||
|
|||||||
Reference in New Issue
Block a user