I think this PR fixes a clear typing mistake in the code. I think It is hard to provide testing instructions in this case, so we will need a PLT to review and merge it. Maybe @wilsonge can help with this one?
You can test with the following snipped:
JRequest::setVar('PHP_TEST', 'Test', 'server');
$test = JRequest::getVar('PHP_TEST', '', 'server');
if ($test == 'Test')
echo 'OK';
else
echo 'Fail';
Can you please edit your PR and add testing instructions. Thanks!
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/6519.