mirror of
https://github.com/unraid/webgui.git
synced 2026-01-06 01:29:54 -06:00
Update Helpers.php
This commit is contained in:
@@ -386,7 +386,7 @@ function cpu_list() {
|
||||
}
|
||||
|
||||
function my_explode($split, $text, $count=2) {
|
||||
return array_pad(explode($split, $text, $count), $count, '');
|
||||
return array_pad(explode($split, $text??"", $count), $count, '');
|
||||
}
|
||||
|
||||
function my_preg_split($split, $text, $count=2) {
|
||||
|
||||
Reference in New Issue
Block a user