diff --git a/includes/functions-formatting.php b/includes/functions-formatting.php
index <HASH>..<HASH> 100644
--- a/includes/functions-formatting.php
+++ b/includes/functions-formatting.php
@@ -18,7 +18,7 @@ function yourls_int2string( $num, $chars = null ) {
 		$num = bcdiv( $num, $len );
 		$string = $chars[ $mod ] . $string;
 	}
-	$string = $chars[ $num ] . $string;
+	$string = $chars[ intval( $num ) ] . $string;
 	
 	return yourls_apply_filter( 'int2string', $string, $num, $chars );
 }
Remove notice that has probably been here for decades.

<b>Warning</b>:  Illegal string offset '<I>' in <b>D:\yourls\includes\functions-formatting.php</b> on line <b><I></b>