[web-news] master: Fixed warning

From: Date: Mon, 05 Oct 2026 16:07:28 +0000
Subject: [web-news] master: Fixed warning
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-34079@lists.php.net to get a copy of this message
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
« previous php.webmaster (#34079) next »