Source

joomla-flickr / site / joomlaflickr.php

Diff from to

site/joomlaflickr.php

 require_once (JPATH_COMPONENT.DS.'controller.php');
 
 // Require specific controller if requested
-if($controller = JRequest::getVar('controller')) {
+if($controller = JRequest::getWord('controller')) {
 	require_once (JPATH_COMPONENT.DS.'controllers'.DS.$controller.'.php');
 }
 
 $controller = new $classname( );
 
 // Perform the Request task
-$controller->execute( JRequest::getVar('task'));
+$controller->execute( JRequest::getWord('task'));
 
 // Redirect if set by the controller
 $controller->redirect();