Skip to content

Commit

Permalink
42351: Klicken auf Beitragende Person in der Liste der Beitragende Pe…
Browse files Browse the repository at this point in the history
…rsonen verursacht Fehler
  • Loading branch information
alex40724 committed Nov 10, 2024
1 parent f3dcb77 commit ce7c28f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/Blog/classes/class.ilObjBlogGUI.php
Original file line number Diff line number Diff line change
Expand Up @@ -1347,7 +1347,7 @@ protected function buildPostingList(
foreach (ilBlogPosting::getAllPostings($a_obj_id) as $posting) {
if ($this->author &&
($posting["author"] == $this->author ||
(is_array($posting["editors"]) && in_array($this->author, $posting["editors"])))) {
(is_array($posting["editors"] ?? false) && in_array($this->author, $posting["editors"])))) {
$author_found = true;
}

Expand Down

0 comments on commit ce7c28f

Please sign in to comment.