From fbf77b4493f1b77c99751d8a86365c712ae3fb1b Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Fri, 18 Nov 2005 10:35:15 -0500 Subject: [PATCH] Added Japanese localization --- program/steps/settings/delete_identity.inc | 14 ++++++-------- 1 files changed, 6 insertions(+), 8 deletions(-) diff --git a/program/steps/settings/delete_identity.inc b/program/steps/settings/delete_identity.inc index dacfc05..3bca860 100644 --- a/program/steps/settings/delete_identity.inc +++ b/program/steps/settings/delete_identity.inc @@ -6,7 +6,7 @@ | | | This file is part of the RoundCube Webmail client | | Copyright (C) 2005, RoundCube Dev. - Switzerland | - | All rights reserved. | + | Licensed under the GNU GPL | | | | PURPOSE: | | Delete the submitted identities (IIDs) from the database | @@ -23,13 +23,11 @@ if ($_GET['_iid']) { - $DB->query(sprintf("UPDATE %s - SET del='1' - WHERE user_id=%d - AND identity_id IN (%s)", - get_table_name('identities'), - $_SESSION['user_id'], - $_GET['_iid'])); + $DB->query("UPDATE ".get_table_name('identities')." + SET del='1' + WHERE user_id=? + AND identity_id IN (".$_GET['_iid'].")", + $_SESSION['user_id']); $count = $DB->affected_rows(); if ($count) -- Gitblit v1.9.1