Permalink
Browse files

avoiding split in es_MX file (Bug #17794)

git-svn-id: http://svn.php.net/repository/pear/packages/Numbers_Words/trunk@302631 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information...
1 parent 84cffd3 commit 985641c3e9d0ab6193b664bb71448820103fdf35 @ifeghali ifeghali committed Aug 22, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 Numbers/Words/lang.es_MX.php
View
2 Numbers/Words/lang.es_MX.php
@@ -204,7 +204,7 @@ function toWords($num, $power = 0)
// strip excessive zero signs
$num = preg_replace('/^0+/', '', $num);
- $num_tmp = split('\.', $num);
+ $num_tmp = explode('.', $num);
$num = $num_tmp[0];
$dec = (@$num_tmp[1]) ? $num_tmp[1] : '';

0 comments on commit 985641c

Please sign in to comment.