From 3e49cf5f56cfb64e1f3b00cecda8868f6b43f72f Mon Sep 17 00:00:00 2001 From: patdenice Date: Wed, 15 Oct 2008 20:58:36 +0000 Subject: Merge from trunk 2752: - change mysql_escape_string function (deprecated) by mysql_real_escape_string. - Correction on install.tpl (link color). git-svn-id: http://piwigo.org/svn/branches/2.0@2753 68402e56-0260-453c-a942-63ccdbb3a9ee --- password.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'password.php') diff --git a/password.php b/password.php index 2161188b7..0a7ca4b87 100644 --- a/password.php +++ b/password.php @@ -56,7 +56,7 @@ if (isset($_POST['submit'])) } else if (isset($_POST['mail_address']) and !empty($_POST['mail_address'])) { - $mail_address = mysql_escape_string($_POST['mail_address']); + $mail_address = mysql_real_escape_string($_POST['mail_address']); $query = ' SELECT '.$conf['user_fields']['id'].' AS id -- cgit v1.2.3