Removed $_GET from all callback response and used JInput instead

This commit is contained in:
2016-06-24 15:23:01 +01:00
parent 2004b8d91c
commit f09fd06ddc
365 changed files with 439 additions and 427 deletions

View File

@ -63,9 +63,9 @@ class ###Component###ControllerAjax extends JControllerLegacy
}
else
{
if(array_key_exists('callback',$_GET))
if($callback = $jinput->get('callback', null, 'CMD'))
{
echo $_GET['callback']."(".json_encode(false).");";
echo $callback."(".json_encode(false).");";
}
else
{