mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-09-22 06:29:15 +00:00
Fix uninitialised variable warning.
This commit is contained in:
parent
76e4a83b75
commit
bedba4bc4f
@ -215,7 +215,7 @@ function check_string($ics){
|
|||||||
$error[] = $line;
|
$error[] = $line;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(is_array($error)){
|
if(isset($error) && is_array($error)){
|
||||||
foreach($error as $line){
|
foreach($error as $line){
|
||||||
dbg_error_log( "LOG check_string","error on lines % invalid character in string %s" , ($line +1),$ics_file[$line] );
|
dbg_error_log( "LOG check_string","error on lines % invalid character in string %s" , ($line +1),$ics_file[$line] );
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user