Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-05-02 08:55:02 +0200
committerErich Eckner <git@eckner.net>2019-05-02 08:55:02 +0200
commitc97675706fd7f19cdfe2cb2d7ef5010fb80af645 (patch)
tree4d9a0cc8a0edcdd5af1230231b743075f6cea042
parent4a5d8f05db9564cda633942c29481f98c3e57886 (diff)
packages/pkginfo.php: architecture of substitute must match, too!
-rw-r--r--packages/pkginfo.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/pkginfo.php b/packages/pkginfo.php
index 49a6316..5e3b832 100644
--- a/packages/pkginfo.php
+++ b/packages/pkginfo.php
@@ -218,6 +218,7 @@ require_once BASE . "/lib/style.php";
" JOIN `repository_stability_relations` AS `subst_rsr2`" .
" ON `subst_rsr2`.`more_stable`=`subst_r`.`stability`" .
" WHERE `subst_bp`.`pkgname`=`binary_packages`.`pkgname`" .
+ " AND `subst_bp`.`architecture`=`binary_packages`.`architecture`" .
" AND `subst_rsr`.`more_stable`=`repositories`.`stability`" .
" AND `subst_rsr2`.`less_stable`=" . $mysql_content["repo_stability"] .
")" .