Skip to content

Commit 68adb39

Browse files
Jason.Plattssammarshallou
Jason.Platts
authored andcommitted
PHPUnit: PHP8.1 deprecated warnings (further fixes) #681274
1 parent 3923269 commit 68adb39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

externallib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ public static function get_blog_posts2($blogid, $bcontextid, $selected, $inccomm
401401
return array();
402402
}
403403
$user = $userobj->id;
404-
$selected = explode(',', $selected);
404+
$selected = explode(',', $selected ?? '');
405405
if ($selected[0] == "") {
406406
$return = oublog_import_getposts($blogid, $bcontextid, $selected, $inccomments, $user, true);
407407
} else {

0 commit comments

Comments
 (0)