mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Merge branch 'maint'
This commit is contained in:
commit
e411ef1d80
3 changed files with 6 additions and 6 deletions
|
@ -203,7 +203,7 @@ class AurJSON {
|
|||
// just using sprintf to coerce the pqd to an int
|
||||
// should handle sql injection issues, since sprintf will
|
||||
// bork if not an int, or convert the string to a number 0
|
||||
$where_condition = "ID={$pqdata}";
|
||||
$where_condition = "Packages.ID={$pqdata}";
|
||||
}
|
||||
else {
|
||||
$where_condition = sprintf("Name=\"%s\"",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue