Fixed: Addtional requirements and comment, only comment would appear when attempting to install via card

This commit is contained in:
Squidly271 2022-01-08 11:21:24 -05:00
parent 6378a3bc19
commit 4c7ff36afd
3 changed files with 3 additions and 3 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
223b355e68a62b77dbc4df47aa50ce89 ./skins/Narrow/skin.php
a7c875a5c7d1d33cc2cde8c574c56729 ./skins/Narrow/skin.php

View File

@ -97,8 +97,8 @@ function my_display_apps($file,$pageNumber=1,$selectedApps=false,$startup=false)
$selected = false;
$installComment = $template['CAComment'];
if ( ! $installComment && $template['Requires'] )
$installComment = tr("This application has additional requirements")."<br>".markdown($template['Requires']);
if ( $template['Requires'] )
$installComment = tr("This application has additional requirements")."<br>".markdown($template['Requires'])."<br>$installComment";
if ( ! $template['Language'] ) {
if ( ! $template['NoInstall'] && ! $caSettings['NoInstalls']) {