#2868 closed defect (fixed)

serverdatafunctions.php uses removed function get_magic_quotes_gpc()

Reported by: jng Owned by: jng
Priority: low Milestone: 4.0
Component: Map Admin Version:
Severity: trivial Keywords:
Cc: External ID:

Description

This breaks the site administrator when applying log properties.

According to PHP 8 migration discussions around this function, the suggestion is to just treat as though this function returns false, so whatever branching decisions were made from this return value, just remove the true condition path

Change History (1)

comment:1 by jng, 21 months ago

Resolution: fixed
Status: assignedclosed

In 10049:

Make CleanUpMagicQuotes() in serverdatafunctions.php do nothing. The get_magic_quotes_gpc() has been removed and PHP 8 migration discussions around this function suggest to just treat as though this function now returns false, which in our case means this CleanUpMagicQuotes() function now does nothing.

Fixes #2868

Note: See TracTickets for help on using tickets.