@@ -27,7 +27,7 @@ |
||
| 27 | 27 | $text = iconv('utf-8', 'us-ascii//TRANSLIT', $text); |
| 28 | 28 | $text = preg_replace('~[^-\w]+~', '', trim($text, '-')); |
| 29 | 29 | $text = preg_replace('~-+~', '-', strtolower($text)); |
| 30 | - if(empty($text)) { return null; } |
|
| 30 | + if (empty($text)) { return null; } |
|
| 31 | 31 | return $text; |
| 32 | 32 | } |
| 33 | 33 | |