summaryrefslogtreecommitdiff
path: root/packages/pkginfo.php
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-04-14 20:17:06 +0200
committerErich Eckner <git@eckner.net>2018-04-14 20:17:06 +0200
commit4851b38ae1224c59efa84ca37ae727fb08ec6ebd (patch)
tree689db1a29e5e6668dd2ac5eacaa1428989b01757 /packages/pkginfo.php
parent7d4bf784bb57fbc330d205ee4621ec6cf6ae9ed6 (diff)
downloadarchweb32-4851b38ae1224c59efa84ca37ae727fb08ec6ebd.tar.xz
packages/pkginfo.php: fix query
Diffstat (limited to 'packages/pkginfo.php')
-rw-r--r--packages/pkginfo.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/pkginfo.php b/packages/pkginfo.php
index fe03802..8e5f923 100644
--- a/packages/pkginfo.php
+++ b/packages/pkginfo.php
@@ -114,7 +114,7 @@
" JOIN `repository_stability_relations` AS `subst_rsr2` ON `subst_rsr2`.`more_stable`=`subst_r`.`stability`" .
" WHERE `subst_bp`.`pkgname`=`binary_packages`.`pkgname`" .
" AND `subst_rsr`.`more_stable`=`repositories`.`stability`" .
- " AND `subst_rsr2`.`less_stable`=`repositories`.`stability`" .
+ " AND `subst_rsr2`.`less_stable`=" . $mysql_content["repo_stability"] .
")" .
" GROUP BY `install_targets`.`id`,`dependency_types`.`id`" .
" ORDER BY FIELD (`dependency_types`.`name`,\"run\",\"make\",\"check\",\"link\"), `install_targets`.`name`"