Hi everyone,
in my opinion it is not so good to use extract()...
You cannot have url-param named "string" for example, becuse it is other variable used in sef_ext.
Also, using @ to suppress errors is kind of old-school and slower solution
(turns off error reporting for that piece of code and then turns it back on)
Correct use of isset() is better and faster, so I have rather done it like this:
$string = JoomSEF::sefGetLocation(
$string,
$title,
$vars['task'],
(isset($vars['limit']) ? $vars['limit'] : null),
(isset($vars['limitstart']) ? $vars['limitstart'] : null),
(isset($vars['lang']) ? $vars['lang'] : null)
);