Resolved gh-321 by adding the option te set a create menu for admin edit views that are also added to the front-end.

This commit is contained in:
2019-04-09 23:54:54 +02:00
parent fd154a81bc
commit a817bae010
9 changed files with 61 additions and 14 deletions

View File

@ -1162,7 +1162,7 @@ class Get
return $value;
}, $array);
// check if we must add to site
if (isset($array['edit_create_site_view']) && $array['edit_create_site_view'])
if (isset($array['edit_create_site_view']) && is_numeric($array['edit_create_site_view']) && $array['edit_create_site_view'] > 0)
{
$this->siteEditView[$array['adminview']] = true;
$this->lang = 'both';