Fixed typo
authorAlexander Ebert <ebert@woltlab.com>
Thu, 9 Feb 2012 16:35:35 +0000 (17:35 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 9 Feb 2012 16:35:35 +0000 (17:35 +0100)
wcfsetup/install/files/lib/util/StringUtil.class.php

index 9e75d71c47a02acc41923d422b11804758c899fa..0cd095b4b52b7a3b34256dce43f80f6909524bdd 100644 (file)
@@ -118,7 +118,7 @@ class StringUtil {
         * @param       string          $string
         * @return      string          $string
         */
-       public static function trim($text, $) {
+       public static function trim($text) {
                // Whitespace + (narrow) non breaking spaces.
                // No one can triforce now.
                $text = preg_replace('/^(\s|'.chr(226).chr(128).chr(175).'|'.chr(194).chr(160).')+/', '', $text);