Fixed: A link to the repository shouldn't appear when clicking Profile on Private Apps

pull/11/head
Squidly271 2022-01-08 09:04:11 -05:00
parent 4d9fbe4251
commit 44a18e53a4
3 changed files with 2 additions and 2 deletions

View File

@ -21,4 +21,4 @@ a1401a0bed89c182b69f0c7508282c1f ./scripts/pluginInstall.php
34554a56611dfe625889c82afd5138de ./scripts/updatePluginSupport.php
dec0ef21fb5bd704cd319e0a059a11ba ./skins/Narrow/css.php
7d827147dc8ede3d518b2cacae1d385b ./skins/Narrow/skin.html
1a27517d5081d2ef2191775e41303a5a ./skins/Narrow/skin.php
d4c1d8ea9376f7fff1075ad592cf47e2 ./skins/Narrow/skin.php

View File

@ -813,7 +813,7 @@ function getRepoDescriptionSkin($repository) {
$t .= "
<tr><td class='repoLeft''>".tr("Total Languages")."</td><td class='repoRight'>$totalLanguage</td></tr>
";
if ( $caSettings['dev'] == "yes")
if ( $caSettings['dev'] == "yes" && $repo['url'])
$t .= "
<tr><td class='repoLeft'><a class='popUpLink' href='{$repo['url']}' target='_blank'>".tr("Repository URL")."</a></td></tr>
";