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:
patdenice
2008-10-15 20:58:36 +00:00
parent 478291598f
commit 3e49cf5f56
7 changed files with 8 additions and 15 deletions
+1 -1
View File
@@ -107,7 +107,7 @@ SELECT COUNT(*)
INSERT INTO '.GROUPS_TABLE.'
(name)
VALUES
(\''.mysql_escape_string($_POST['groupname']).'\')
(\''.mysql_real_escape_string($_POST['groupname']).'\')
;';
pwg_query($query);