From 8c9afc6ca0fa1d8dc492772af07e45560817a63f Mon Sep 17 00:00:00 2001 From: Sebastian Bergmann Date: Thu, 30 Apr 2020 10:48:02 +0200 Subject: [PATCH] Fix issue described in https://github.com/php/web-php/pull/321#issuecomment-621647915 --- conferences/index.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/conferences/index.php b/conferences/index.php index 1bb5cdc55b..64a2239e3c 100644 --- a/conferences/index.php +++ b/conferences/index.php @@ -35,7 +35,11 @@ $content .= '
'; $content .= '

' . $entry["title"] . '

'; $content .= '
'; - $content .= sprintf('', $entry["newsImage"]["link"], $entry["newsImage"]["content"]); + + if (isset($entry["newsImage"])) { + $content .= sprintf('', $entry["newsImage"]["link"], $entry["newsImage"]["content"]); + } + $content .= '
'; $content .= '
'; $content .= $entry["content"];