On the front end of the site the wrong icon is being displayed for the edit article link. It should be edit but its getting eye-slash
|
$icon = $article->state ? 'edit' : 'eye-slash'; |
|
|
|
if (strtotime($article->publish_up) > strtotime(Factory::getDate()) |
|
|| ((strtotime($article->publish_down) < strtotime(Factory::getDate())) && $article->publish_down != Factory::getDbo()->getNullDate())) |
|
{ |
|
$icon = 'eye-slash'; |
|
} |
I can't get my head around all the conditionals here and it looks like its related to the date changes
On the front end of the site the wrong icon is being displayed for the edit article link. It should be edit but its getting eye-slash
joomla-cms/layouts/joomla/content/icons/edit.php
Lines 32 to 38 in e2b623c
I can't get my head around all the conditionals here and it looks like its related to the date changes