Permalink
Browse files

Checkstyle

  • Loading branch information...
1 parent 64520f4 commit 59c18dc9377e70ac24ac6fbd1bd6fda8b0121fee @chdemko chdemko committed Jan 3, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 libraries/joomla/filter/output.php
@@ -96,10 +96,10 @@ public static function stringURLSafe($string)
// Remove any duplicate whitespace, and ensure all characters are alphanumeric
$str = preg_replace('/(\s|[^A-Za-z0-9\-])+/', '-', $str);
-
+
// Trim dashes at beginning and end of alias
$str = trim($str, '-');
-
+
return $str;
}

0 comments on commit 59c18dc

Please sign in to comment.