Commit 4af96064 authored by Dries's avatar Dries

- Patch #35648 by asimmonds: fixed permissions page.

parent f2185037
......@@ -1622,7 +1622,7 @@ function theme_user_admin_perm($form) {
}
function user_admin_perm_execute() {
$edit = $GLOBALS['form_values']['checkboxes'];
$edit = $GLOBALS['form_values'];
// Save permissions:
$result = db_query('SELECT * FROM {role}');
while ($role = db_fetch_object($result)) {
......
......@@ -1622,7 +1622,7 @@ function theme_user_admin_perm($form) {
}
function user_admin_perm_execute() {
$edit = $GLOBALS['form_values']['checkboxes'];
$edit = $GLOBALS['form_values'];
// Save permissions:
$result = db_query('SELECT * FROM {role}');
while ($role = db_fetch_object($result)) {
......
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