akeeba / fof

Rapid Application Development framework for Joomla!™ 3 and 4
0 stars 0 forks source link

Only show published buttons if a enabled field is present #540

Closed wilsonge closed 9 years ago

wilsonge commented 9 years ago

This applies very similar code to that as done for the checkin button in the same method. If there is no enabled field present then there's no point in showing the published buttons.

I don't think this could fall under b/c because the DataModel::published() bails super early if there is no enabled field present