mirror of
https://github.com/Squidly271/community.applications.git
synced 2025-06-03 14:52:13 +08:00
Handle incompatible apps appearing within Spotlight on home page
This commit is contained in:
parent
e6f2f05fd5
commit
8a889b37ed
BIN
archive/community.applications-2021.12.29-x86_64-1.txz
Normal file
BIN
archive/community.applications-2021.12.29-x86_64-1.txz
Normal file
Binary file not shown.
@ -2,7 +2,7 @@
|
||||
83b3f89cd42e8601c7c217d5b4889c81 ./CA_notices.page
|
||||
18ded5848ac35ffae0e8e0fc8ed3c512 ./ca_settings.page
|
||||
ed2883d6c44c19304c431079596a1731 ./default.cfg
|
||||
bb619eacf570f936207f98d99ea3f9de ./include/exec.php
|
||||
70e4b4b5942900c8280640e1dece91a8 ./include/exec.php
|
||||
b6920c2d8b2ea81a4dabbd935b93895e ./include/helpers.php
|
||||
95709ae0ed53e2889a93849a69b37892 ./include/paths.php
|
||||
410c0166bae560754e231486050621f6 ./javascript/libraries.js
|
||||
|
@ -504,7 +504,9 @@ function appOfDay($file) {
|
||||
$sortOrder['sortDir'] = "Down";
|
||||
usort($file,"mySort");
|
||||
foreach($file as $template) {
|
||||
if ($template['RecommendedDate']) {
|
||||
if ($template['RecommendedDate'] ) {
|
||||
if ( $caSettings['hideIncompatible'] == "true" && ! versionCheck($template)) continue;
|
||||
|
||||
$appOfDay[] = $template['ID'];
|
||||
if ( count($appOfDay) == 7 ) break;
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user