Fixes T13471. Recent versions of PHP raise a warning when this function is called.
We're only calling it so we can instantly fatal if it's enabled, so use "@" to silence the warning.
Differential D20942
Guard call to "get_magic_quotes_gpc()" with "@" to silence PHP 7.4+ warning epriestley on Jan 14 2020, 8:21 PM. Authored by Tags None Referenced Files
Subscribers None
Details
Fixes T13471. Recent versions of PHP raise a warning when this function is called. We're only calling it so we can instantly fatal if it's enabled, so use "@" to silence the warning. Loaded site; see also T13471 for a user reporting that this fix is effective.
Diff Detail
|