Zeile 1 | Zeile 1 |
---|
<?php /** * MyBB 1.4
|
<?php /** * MyBB 1.4
|
* Copyright � 2008 MyBB Group, All Rights Reserved
| * Copyright © 2008 MyBB Group, All Rights Reserved
|
* * Website: http://www.mybboard.net * License: http://www.mybboard.net/about/license *
|
* * Website: http://www.mybboard.net * License: http://www.mybboard.net/about/license *
|
* $Id: admin_permissions.php 4119 2008-08-16 01:00:23Z Tikitiki $
| * $Id: admin_permissions.php 4384 2009-06-19 11:49:42Z Tomm $
|
*/
// Disallow direct access to this file for security reasons
| */
// Disallow direct access to this file for security reasons
|
Zeile 139 | Zeile 139 |
---|
} else {
|
} else {
|
$db->insert_query("adminoptions", array('uid' => intval($mybb->input['uid']), 'permissions' => $db->escape_string(serialize($mybb->input['permissions']))));
| $insert_array = array( "uid" => intval($mybb->input['uid']), "permissions" => $db->escape_string(serialize($mybb->input['permissions'])), "notes" => '', "defaultviews" => '' ); $db->insert_query("adminoptions", $insert_array);
|
} $plugins->run_hooks("admin_user_admin_permissions_edit_commit");
| } $plugins->run_hooks("admin_user_admin_permissions_edit_commit");
|