Commit 4a06cac8 authored by Ghislain Loas's avatar Ghislain Loas
Browse files

hotline #66006 fix archived status as viewable

parent 6b1277ef
......@@ -1428,12 +1428,12 @@ class Class_Article extends Storm_Model_Abstract {
public function isFrontVisible() {
if($this->isArchived())
return false;
if(Class_Users::isCurrentUserCanAccesBackend())
return true;
if($this->isArchived())
return false;
return !$this->isStatusDraft();
}
}
\ No newline at end of file
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