From 4851b38ae1224c59efa84ca37ae727fb08ec6ebd Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sat, 14 Apr 2018 20:17:06 +0200 Subject: packages/pkginfo.php: fix query --- packages/pkginfo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/pkginfo.php') 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`" -- cgit v1.2.3-70-g09d2