mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Fix json info output.
Commit 325347a
introduced a regression causing an improper database
query.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
This commit is contained in:
parent
9260e1c328
commit
21e0ff2207
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ class AurJSON {
|
||||||
if(get_magic_quotes_gpc()) {
|
if(get_magic_quotes_gpc()) {
|
||||||
$pqdata = stripslashes($pqdata);
|
$pqdata = stripslashes($pqdata);
|
||||||
}
|
}
|
||||||
$query_stub = printf("Name=\"%s\"",
|
$query_stub = sprintf("Name=\"%s\"",
|
||||||
mysql_real_escape_string($pqdata));
|
mysql_real_escape_string($pqdata));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue