diff --git a/plugins/NerdPack.plg b/plugins/NerdPack.plg index 40576419..9d4e65c1 100755 --- a/plugins/NerdPack.plg +++ b/plugins/NerdPack.plg @@ -3,7 +3,7 @@ - + @@ -16,6 +16,8 @@ +###2016.10.20 +- fix: php7 compatibility ###2016.10.09 - fix: not creating package directory ###2016.10.08 diff --git a/plugins/NerdPack.xml b/plugins/NerdPack.xml index 43ddec28..01f413b9 100644 --- a/plugins/NerdPack.xml +++ b/plugins/NerdPack.xml @@ -11,8 +11,10 @@ This plugin allows installation of extra packages, mostly CLI, for advanced user http://lime-technology.com/forum/index.php?topic=37541.0 https://raw.githubusercontent.com/dmacias72/unRAID-plugins/master/plugins/NerdPack.png -2016-10-09 +2016-10-20 +###2016.10.20 +- fix: php7 compatibility ###2016.10.09 - fix: not creating package directory ###2016.10.08 diff --git a/source/NerdPack/usr/local/emhttp/plugins/NerdPack/include/DownloadHelpers.php b/source/NerdPack/usr/local/emhttp/plugins/NerdPack/include/DownloadHelpers.php index 2da425cb..8290ab4b 100644 --- a/source/NerdPack/usr/local/emhttp/plugins/NerdPack/include/DownloadHelpers.php +++ b/source/NerdPack/usr/local/emhttp/plugins/NerdPack/include/DownloadHelpers.php @@ -1,4 +1,4 @@ - $pkg_line) { if (preg_match('/^'.$pkg_name.'.*/',$pkg_key)){ - if(sizeof(array_diff(split('-', $pkg_key), split('-', $pkg_name))) < 2 ){ + if(sizeof(array_diff(explode('-', $pkg_key), explode('-', $pkg_name))) < 2 ){ $pkg_set = $pkg_line; break; }