diff options
author | eliott <eliott@cactuswax.net> | 2007-11-18 02:39:17 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-01-20 07:21:19 +0100 |
commit | 47e80c24afa539d23f9060ee876303e24a1b1c89 (patch) | |
tree | 447c84cda601a9f85f814bf1f87413cd8247587f /web/lib | |
parent | f4bfe44876c9d7c62395fbd0c065a5c28d9f33be (diff) | |
download | aur-47e80c24afa539d23f9060ee876303e24a1b1c89.tar.gz aur-47e80c24afa539d23f9060ee876303e24a1b1c89.tar.xz |
Removed reference to 'safe'
Diffstat (limited to 'web/lib')
-rw-r--r-- | web/lib/aurjson.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/lib/aurjson.class.php b/web/lib/aurjson.class.php index d12f2b54..b8dff396 100644 --- a/web/lib/aurjson.class.php +++ b/web/lib/aurjson.class.php @@ -109,7 +109,7 @@ class AurJSON { // using sprintf to coerce the package_id to an int // should handle sql injection issues, since sprintf will // 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); if ( $result && (mysql_num_rows($result) > 0) ) { |