mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-12 11:43:01 +02:00
merge r12825 from trunk to branch 2.3 bug:2546 fixed:
checkbox "apply on sub" after the button better "if isset" to avoid errors if no user have been selected git-svn-id: http://piwigo.org/svn/branches/2.3@12826 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
+3
-1
@@ -148,7 +148,9 @@ DELETE
|
||||
;';
|
||||
pwg_query($query);
|
||||
}
|
||||
else if (isset($_POST['grant_users_submit']))
|
||||
else if (isset($_POST['grant_users_submit'])
|
||||
and isset($_POST['grant_users'])
|
||||
and count($_POST['grant_users']) > 0)
|
||||
{
|
||||
add_permission_on_category($page['cat'], $_POST['grant_users']);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user