mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-11 11:13:02 +02:00
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
This commit is contained in:
+1
-1
@@ -110,7 +110,7 @@ if (isset($_POST['submit']))
|
||||
$search['fields']['filename'] = str_replace(
|
||||
'*',
|
||||
'%',
|
||||
mysql_escape_string($_POST['filename'])
|
||||
mysql_real_escape_string($_POST['filename'])
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user