HomePhabricator

ProtectSiteForm: don't pass null to htmlspecialchars()

Tags
None
Referenced Files
None
Subscribers
None

Description

ProtectSiteForm: don't pass null to htmlspecialchars()

To fix PHP 8.1 emitting a warning.
This fixes the config value default for $wgProtectSiteDefaultTimeout. Currently is used wrong capitalisation, so the global was returning null when passed to the textbox() function $value in ProtectSiteForm.

Change-Id: I2374ddbb9d16315c59ab95c3b9a66c1d1f07f359
(cherry picked from commit 906070a55bb339d4914b52f7181d0bc168680c65)

Details

Provenance
Universal_OmegaAuthored on Jan 8 2023, 9:58 AM
Parents
rEPRO1d7b6bf902f5: Merge "build: Updating minimatch to 3.0.8" into REL1_39
Branches
Unknown
Tags
Unknown
References
refs/changes/22/877222/1
ChangeId
I2374ddbb9d16315c59ab95c3b9a66c1d1f07f359

Event Timeline