diff options
-rw-r--r-- | php/phpgats2.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/php/phpgats2.php b/php/phpgats2.php index f97bd89..5bb1738 100644 --- a/php/phpgats2.php +++ b/php/phpgats2.php | |||
@@ -266,7 +266,7 @@ function _phpgats2__write( $unknown ) | |||
266 | } | 266 | } |
267 | else if( is_string( $unknown ) ) | 267 | else if( is_string( $unknown ) ) |
268 | { | 268 | { |
269 | if( bcmul( $unknown, "1", 0 ) === $unknown ) | 269 | if( @bcmul( $unknown, "1", 0 ) === $unknown ) |
270 | return _phpgats2_packInteger( $unknown ); | 270 | return _phpgats2_packInteger( $unknown ); |
271 | return _phpgats2_writeString( $unknown ); | 271 | return _phpgats2_writeString( $unknown ); |
272 | } | 272 | } |