1
0
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:
Meik Sievertsen 2006-10-28 11:03:33 +00:00
parent 15195facc2
commit 8130bcf44e
2 changed files with 2 additions and 3 deletions

View File

@ -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)
{

View File

@ -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');