Skip to content

Commit 87b0829

Browse files
saggi-dwselfthinker
authored andcommitted
Fix: E_WARNING: Trying to access array offset on value of type bool
1 parent 2fe0cb6 commit 87b0829

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

syntax.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public function render($mode, Doku_Renderer $renderer, $data)
8787
return false;
8888
}
8989

90-
if(strlen($data[0]) > 1){
90+
if(strlen($data[0] ?? null) > 1){
9191
$src = $data[0];
9292
$transStr = $data[1];
9393

0 commit comments

Comments
 (0)