[web-news] master: Fixed warning
Author: Derick Rethans (derickr)
Date: 2026-10-05T17:07:22+01:00
Commit: https://github.com/php/web-news/commit/5c62c5f026c71a96960724b3ae083b3a97fe2418
Raw diff: https://github.com/php/web-news/commit/5c62c5f026c71a96960724b3ae083b3a97fe2418.diff
Fixed warning
Changed paths:
M article.php
Diff:
diff --git a/article.php b/article.php
index ff5aec8..603d11e 100644
--- a/article.php
+++ b/article.php
@@ -230,7 +230,7 @@
# quoted lines broken up, so we can put quoted blocks in levels of <div>
# blocks instead of highlighting them per-line
- if (!$insig && $mail['flowed']) {
+ if (!$insig && array_key_exists('flowed', $mail) &&
$mail['flowed']) {
$flowed = false;
$new_level = 0;
Thread (1 message)
- Derick Rethans