Author: Derick Rethans (derickr)
Date: 2026-01-21T15:10:09Z
Commit:
https://github.com/php/web-php/commit/cfe41a81dd41857b5b443a49577a40062e932817
Raw diff:
https://github.com/php/web-php/commit/cfe41a81dd41857b5b443a49577a40062e932817.diff
Fallback to standard link if a news entries doesn't have a 'newsImage'
Changed paths:
M conferences/index.php
Diff:
diff --git a/conferences/index.php b/conferences/index.php
index 3718ba5baf..a61cd2acf4 100644
--- a/conferences/index.php
+++ b/conferences/index.php
@@ -33,7 +33,7 @@
$content .= '</div>';
$content .= '</div>';
- $panels .= sprintf('<p class="panel"><a href="%s">%s</a></p>',
$entry["newsImage"]["link"], $entry["title"]);
+ $panels .= sprintf('<p class="panel"><a href="%s">%s</a></p>',
$entry["newsImage"]["link"] ?? $link, $entry["title"]);
}
$content .= "</div>";