Merge "Allow adding arbitrary properties to OutputPage"
[lhc/web/wiklou.git] / includes / GlobalFunctions.php
index 739003a..be862e7 100644 (file)
@@ -3211,6 +3211,7 @@ function wfDoUpdates( $commit = '' ) {
  * @return string|bool The output number as a string, or false on error
  */
 function wfBaseConvert( $input, $sourceBase, $destBase, $pad = 1, $lowercase = true, $engine = 'auto' ) {
+       $input = (string)$input;
        if(
                $sourceBase < 2 ||
                $sourceBase > 36 ||