Signed-off-by: Johannes Löthberg <[email protected]>
---
 web/template/pkg_details.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/web/template/pkg_details.php b/web/template/pkg_details.php
index 9a360e3..82bc262 100644
--- a/web/template/pkg_details.php
+++ b/web/template/pkg_details.php
@@ -178,7 +178,7 @@ $sources = pkg_sources($row["ID"]);
                        <th><?= __('Git Clone URL') . ': ' ?></th>
                        <td>
                                <a href="<?= $git_clone_uri_anon ?>"><?= 
$git_clone_uri_anon ?></a> (<?= __('read-only') ?>)
-                               <?php if ($uid == $row["MaintainerUID"]): ?>
+                               <?php if (in_array($uid, $maintainers)): ?>
                                <br /> <a href="<?= $git_clone_uri_priv ?>"><?= 
$git_clone_uri_priv ?></a>
                                <?php endif; ?>
                        </td>
-- 
2.4.4

Reply via email to