Fixed: docker apps with branding wouldn't show as being installed when browsing

This commit is contained in:
Squidly271 2021-05-16 11:34:22 -04:00
parent bd02217110
commit 00ea172178
3 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ b398273cf7daa62ab00d2de2336ca25f ./README.md
8e7dc33512b8a78f28d7179a972c7c34 ./images/discord-hover.svg
54e46db492ddb033dfeb2827c5efd4a8 ./images/discord-white.svg
83e99938994e5d45de53ba97d7d7a1c8 ./include/exec.php
946e0ae402b85b1aabcd5efe321b2c9e ./include/helpers.php
9ee9c5f6f0f3148dd0f97e459ca49e74 ./include/helpers.php
8f1129e0cdb994c6d1900192252433d8 ./include/paths.php
9ba7ea3ef8bad60cb8335da9c0daea4f ./javascript/libraries.js
e605780f0c220d94298c20a6914af598 ./skins/Narrow/css.php

View File

@ -419,7 +419,7 @@ function appInstalled($template,$info) {
if ($test['Language'])
return is_dir("/usr/local/emhttp/languages/lang-{$template['LanguagePack']}");
$name = $template['SortName'];
$name = $template['Name'];
$selected = $info[$name]['template'];
$tmpRepo = strpos($template['Repository'],":") ? $template['Repository'] : "{$template['Repository']}:latest";
if ( ! strpos($tmpRepo,"/") )