diff options
author | Lukas Fleischer <lfleischer@archlinux.org> | 2015-09-17 19:06:18 +0200 |
---|---|---|
committer | Lukas Fleischer <lfleischer@archlinux.org> | 2015-09-17 19:06:18 +0200 |
commit | dd808ac8023175f940f54746fc69f9a61a80fc03 (patch) | |
tree | 8e371ac8a51b7a6d140daf99745120dac46b225d /web/template | |
parent | 2c20403cc4e7f788b04afbf7adda6e96e3cfcf27 (diff) | |
download | aur-dd808ac8023175f940f54746fc69f9a61a80fc03.tar.gz aur-dd808ac8023175f940f54746fc69f9a61a80fc03.tar.xz |
Use a separate function for "Required by" links
Do not use the same function for generating dependency and inverse
dependency links. Instead, factor out common code and create two
separate functions for those (rather different) functionalities.
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'web/template')
-rw-r--r-- | web/template/pkg_details.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/template/pkg_details.php b/web/template/pkg_details.php index 5ba3607a..0a2d90eb 100644 --- a/web/template/pkg_details.php +++ b/web/template/pkg_details.php @@ -285,7 +285,7 @@ endif; <?php if (count($requiredby) > 0): ?> <ul id="pkgreqslist"> <?php while (list($k, $darr) = each($requiredby)): ?> - <li><?= pkg_depend_link($darr[0], $darr[1], $darr[2], $darr[3], $darr[4], false); ?></li> + <li><?= pkg_requiredby_link($darr[0], $darr[1], $darr[2]); ?></li> <?php endwhile; ?> </ul> <?php endif; ?> |