Skip to content

Fix error adding Things when multiple profiles not enabled

Harald Eilertsen requested to merge snake66/hubzilla-core:fix-module-thing into dev

The profile_assign field is only sent if the multiple profiles feature is enabled. Trying to escape a non-existing field causes an error in newer PHP versions.

Also replaces all occurences of $_REQUEST with $_POST or $_GET depending on which method they're found in. The $_REQUEST superglobal is dangerous.

Merge request reports

Loading