aboutsummaryrefslogtreecommitdiffstats
path: root/admin/group_list.php
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2008-10-15 20:58:36 +0000
committerpatdenice <patdenice@piwigo.org>2008-10-15 20:58:36 +0000
commit3e49cf5f56cfb64e1f3b00cecda8868f6b43f72f (patch)
tree29641a82ce9f4418e8d87e3e73dd27c9bc5648ba /admin/group_list.php
parent478291598f09d2055c72b3ff49d6a622e7648f40 (diff)
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
Diffstat (limited to 'admin/group_list.php')
-rw-r--r--admin/group_list.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/group_list.php b/admin/group_list.php
index 09462025e..8bb0412b4 100644
--- a/admin/group_list.php
+++ b/admin/group_list.php
@@ -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);