Skip to content

Commit

Permalink
add missing check
Browse files Browse the repository at this point in the history
  • Loading branch information
ximex committed Nov 21, 2016
1 parent 4546df4 commit cc1fee5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adm_program/modules/downloads/download_function.php
Expand Up @@ -380,7 +380,7 @@
// save view or upload rights for a folder
elseif ($getMode === 7)
{
if(!isset($_POST['adm_roles_view_right']))
if(!isset($_POST['adm_roles_view_right'], $_POST['adm_roles_upload_right']))
{
$gMessage->show($gL10n->get('SYS_FIELD_EMPTY', $gL10n->get('DAT_VISIBLE_TO')));
// => EXIT
Expand Down

0 comments on commit cc1fee5

Please sign in to comment.