summaryrefslogtreecommitdiffstats
path: root/web/lib
diff options
context:
space:
mode:
authorjchu <jchu>2004-12-15 03:09:46 +0000
committerjchu <jchu>2004-12-15 03:09:46 +0000
commit08d84612b0ca8b086aa35427586c8c383a80903f (patch)
tree1e4b7d581549ac2051dfc9a3f76585e5317c318e /web/lib
parent1406a6e56590c9e9b266468e3b63961226fc868c (diff)
downloadaurweb-08d84612b0ca8b086aa35427586c8c383a80903f.tar.xz
fixed a small ID SNAFU
Diffstat (limited to 'web/lib')
-rw-r--r--web/lib/pkgfuncs.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/lib/pkgfuncs.inc b/web/lib/pkgfuncs.inc
index b4f04d1..b723209 100644
--- a/web/lib/pkgfuncs.inc
+++ b/web/lib/pkgfuncs.inc
@@ -193,7 +193,7 @@ function pkgvotes_from_sid($sid="") {
function package_details($id=0) {
global $_REQUEST;
global $pkgsearch_vars;
- $q = "SELECT *,Location,Category ";
+ $q = "SELECT Packages.*,Location,Category ";
$q.= "FROM Packages,PackageLocations,PackageCategories ";
$q.= "WHERE Packages.LocationID = PackageLocations.ID ";
$q.= "AND Packages.CategoryID = PackageCategories.ID ";