aboutsummaryrefslogtreecommitdiffstats
path: root/admin/history.php
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2008-10-15 20:56:23 +0000
committerpatdenice <patdenice@piwigo.org>2008-10-15 20:56:23 +0000
commiteb667c7711d61d0c757f2202af6c2e61cba7d1ac (patch)
tree9e3553bcef990440d086aa4143ce3cbda2d98e04 /admin/history.php
parenta5aa24e2133978f5ce099255990a5e13ead53f55 (diff)
- change mysql_escape_string function (deprecated) by mysql_real_escape_string.
- Correction on install.tpl (link color). git-svn-id: http://piwigo.org/svn/trunk@2752 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/history.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/history.php b/admin/history.php
index 222deaaf1..a915704d4 100644
--- a/admin/history.php
+++ b/admin/history.php
@@ -110,7 +110,7 @@ if (isset($_POST['submit']))
$search['fields']['filename'] = str_replace(
'*',
'%',
- mysql_escape_string($_POST['filename'])
+ mysql_real_escape_string($_POST['filename'])
);
}