Skip to content

Commit

Permalink
Merge pull request joomla#81 from elkuku/master
Browse files Browse the repository at this point in the history
Enfore strict standards in JApplication::getURLSafe method (using self operator on getCfg method which is not static).
  • Loading branch information
eddieajau committed Jul 8, 2011
2 parents de066f6 + 7b61bf3 commit 9d7e34c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions libraries/joomla/application/application.php
Original file line number Diff line number Diff line change
Expand Up @@ -786,9 +786,7 @@ static public function getRouter($name = null, array $options = array())
*/
static public function stringURLSafe($string)
{
$app = JFactory::getApplication();

if (self::getCfg('unicodeslugs') == 1) {
if (JFactory::getConfig()->get('unicodeslugs') == 1) {
$output = JFilterOutput::stringURLUnicodeSlug($string);
}
else {
Expand Down

0 comments on commit 9d7e34c

Please sign in to comment.