Check if array is set
This commit is contained in:
parent
10435fa9f7
commit
049c74ecbf
|
@ -14,7 +14,7 @@
|
|||
}
|
||||
|
||||
$newslicedir = "";
|
||||
if ($argv[1] != "")
|
||||
if (isset($argv[1]) && $argv[1] != "")
|
||||
$newslicedir = '/tmp/' . $argv[1];
|
||||
|
||||
if($g['enableserial_force'] || file_exists("{$newslicedir}/enableserial_force")) {
|
||||
|
|
Reference in New Issue