Skip to content

Commit

Permalink
New fix because the other one cause a conflict with another PR
Browse files Browse the repository at this point in the history
  • Loading branch information
Niels van der Veer (n9iels) committed May 7, 2016
1 parent 3188317 commit 051de3c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 31 deletions.
Expand Up @@ -176,7 +176,7 @@ protected function getOptions()
* unless the item is already in that category.
* Unset the option if the user isn't authorised for it. In this field assets are always categories.
*/
if ($user->authorise('core.create', $extension . '.category.' . $option->value) != true && $option->level != 0)
if ($user->authorise('core.create', $extension . '.category.' . $option->value) != true && $option->title != 'ROOT')
{
unset($options[$i]);
}
Expand Down
30 changes: 0 additions & 30 deletions administrator/manifests/packages/pkg_weblinks.xml

This file was deleted.

0 comments on commit 051de3c

Please sign in to comment.