stable

Clone or download

Read-only

Fix PHP 7.4 notices when accessing a forum with invalid message or forum ID

Trace: ``` PHP Notice: Trying to access array offset on value of type bool in /usr/share/tuleap/src/common/include/URL.class.php on line 121 ``` Reproduction steps: 1. Access to `GET /forum/?forum_id=a` or `GET /forum/?msg_id=a` Part of request #20946: Fix notices/warnings/errors encountered when using PHP 7.4 FPM pools Change-Id: I3d897d4ab2dcfbbf35167bfd6e958fbe1481d166

Modified Files

Name
M src/common/include/URL.class.php +11 −2 Go to diff View file