Fix parse error
authorChuck Hagenbuch <chuck@horde.org>
Sun, 3 Oct 2010 18:08:08 +0000 (14:08 -0400)
committerChuck Hagenbuch <chuck@horde.org>
Sun, 3 Oct 2010 18:08:08 +0000 (14:08 -0400)
framework/Util/lib/Horde/String.php

index 02c456c..fa2986a 100644 (file)
@@ -330,7 +330,7 @@ class Horde_String
      *
      * @return integer  The string's length.
      */
-    static public function length($string, $charset == 'UTF-8')
+    static public function length($string, $charset = 'UTF-8')
     {
         $charset = self::lower($charset);