mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Removed reference to 'safe'
This commit is contained in:
parent
f4bfe44876
commit
47e80c24af
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ class AurJSON {
|
||||||
// using sprintf to coerce the package_id to an int
|
// using sprintf to coerce the package_id to an int
|
||||||
// should handle sql injection issues, since sprintf will
|
// should handle sql injection issues, since sprintf will
|
||||||
// bork if not an int, or convert the string to a number
|
// bork if not an int, or convert the string to a number
|
||||||
$query = sprintf("SELECT ID,Name,Version,Description,URL,URLPath,License,NumVotes,OutOfDate,Safe FROM Packages WHERE ID=%d",$package_id);
|
$query = sprintf("SELECT ID,Name,Version,Description,URL,URLPath,License,NumVotes,OutOfDate FROM Packages WHERE ID=%d",$package_id);
|
||||||
$result = db_query($query, $this->dbh);
|
$result = db_query($query, $this->dbh);
|
||||||
|
|
||||||
if ( $result && (mysql_num_rows($result) > 0) ) {
|
if ( $result && (mysql_num_rows($result) > 0) ) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue