diff --git a/archive/community.applications-2023.03.11-x86_64-1.txz b/archive/community.applications-2023.03.11-x86_64-1.txz new file mode 100644 index 00000000..b24e0877 Binary files /dev/null and b/archive/community.applications-2023.03.11-x86_64-1.txz differ diff --git a/plugins/community.applications.plg b/plugins/community.applications.plg index 09795fcd..c2f04a94 100644 --- a/plugins/community.applications.plg +++ b/plugins/community.applications.plg @@ -2,8 +2,8 @@ - - + + @@ -13,6 +13,9 @@ +###2023.03.11 +- PHP 8 Upgrades + ###2023.03.03 - PHP8 Upgrades diff --git a/source/community.applications/usr/local/emhttp/plugins/community.applications/Apps.page b/source/community.applications/usr/local/emhttp/plugins/community.applications/Apps.page index 8033fc87..fb46c4bf 100644 --- a/source/community.applications/usr/local/emhttp/plugins/community.applications/Apps.page +++ b/source/community.applications/usr/local/emhttp/plugins/community.applications/Apps.page @@ -94,9 +94,8 @@ else $date = (date("n/d")); -if ( true ) // remove on prod version on uncomment next line -//if ( $date == "4/01" ) - $batMan = (! is_file("/boot/config/plugins/community.applications/IamBatman")) && ($_SESSION['locale'] == "" || $_COOKIE['locale'] == "en_US"); +if ( $date == "4/01" ) + $batMan = (! is_file("/boot/config/plugins/community.applications/IamBatman")) && ($_SESSION['locale'] == "" || $SESSION['locale'] == "en_US"); else $batMan = false; diff --git a/source/community.applications/usr/local/emhttp/plugins/community.applications/ca.md5 b/source/community.applications/usr/local/emhttp/plugins/community.applications/ca.md5 index 83e79a02..fa6f4669 100644 --- a/source/community.applications/usr/local/emhttp/plugins/community.applications/ca.md5 +++ b/source/community.applications/usr/local/emhttp/plugins/community.applications/ca.md5 @@ -1,8 +1,8 @@ -e1e53b35676cef978dd34779bf38a308 ./Apps.page +79ce6cfd71f1cdf64b21380cda1b54d4 ./Apps.page 106b521c1feebda4d7b3f558cc016cda ./CA_notices.page eb1f0ee4148747c0473e73e4e973994f ./ca_settings.page e8d29607ec792ddf9f6832b10ee70fdc ./default.cfg -40fee66825770960a6d8dcb5ae5d44f6 ./include/exec.php +5a7b81afa4ce47abb69d19c175a75346 ./include/exec.php 6a2cd1927d391aff2345233a514d7a87 ./include/helpers.php 8e053d6cd83fbe2202c13b692beabb4f ./include/paths.php 532fffdf939594c143e679da02bd841e ./javascript/libraries.js diff --git a/source/community.applications/usr/local/emhttp/plugins/community.applications/include/exec.php b/source/community.applications/usr/local/emhttp/plugins/community.applications/include/exec.php index b17748fa..257ca053 100644 --- a/source/community.applications/usr/local/emhttp/plugins/community.applications/include/exec.php +++ b/source/community.applications/usr/local/emhttp/plugins/community.applications/include/exec.php @@ -1843,7 +1843,7 @@ function createXML() { $disksPresent[] = "user"; if ( @is_array($template['Data']['Volume']) ) { $testarray = $template['Data']['Volume']; - if ( ! is_array($testarray[0]) ) $testarray = [$testarray]; + if ( ( ! isset($testarray[0]) ) || ( ! is_array($testarray[0]) ) ) $testarray = [$testarray]; foreach ($testarray as &$volume) { $diskReferenced = array_values(array_filter(explode("/",$volume['HostDir']))); if ( $diskReferenced[0] == "mnt" && $diskReferenced[1] && ! in_array($diskReferenced[1],$disksPresent) ) {