summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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`"