From 47e80c24afa539d23f9060ee876303e24a1b1c89 Mon Sep 17 00:00:00 2001 From: eliott Date: Sat, 17 Nov 2007 17:39:17 -0800 Subject: Removed reference to 'safe' --- web/lib/aurjson.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/lib/aurjson.class.php') diff --git a/web/lib/aurjson.class.php b/web/lib/aurjson.class.php index d12f2b5..b8dff39 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) ) { -- cgit v1.2.3-70-g09d2