mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-04 14:47:52 +02:00
test new mailing list rules
git-svn-id: file:///svn/phpbb/trunk@6533 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
15195facc2
commit
8130bcf44e
@ -545,7 +545,6 @@ class acp_attachments
|
||||
|
||||
$group_id = request_var('g', 0);
|
||||
$action = (isset($_POST['add'])) ? 'add' : $action;
|
||||
// $action = (($action == 'add' || $action == 'edit') && $submit && !sizeof($error)) ? 'show' : $action;
|
||||
|
||||
switch ($action)
|
||||
{
|
||||
|
@ -57,8 +57,8 @@ class acp_disallow
|
||||
trigger_error($user->lang['NO_USERNAME_SPECIFIED'] . adm_back_link($this->u_action), E_USER_WARNING);
|
||||
}
|
||||
|
||||
$sql = 'DELETE FROM ' . DISALLOW_TABLE . "
|
||||
WHERE disallow_id = $disallowed_id";
|
||||
$sql = 'DELETE FROM ' . DISALLOW_TABLE . '
|
||||
WHERE disallow_id = ' . $disallowed_id;
|
||||
$db->sql_query($sql);
|
||||
|
||||
add_log('admin', 'LOG_DISALLOW_DELETE');
|
||||
|
Loading…
x
Reference in New Issue
Block a user