summaryrefslogtreecommitdiff
path: root/ext/bcmath
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2007-05-10 09:53:36 +0000
committerAntony Dovgal <tony2001@php.net>2007-05-10 09:53:36 +0000
commitf9f456a9cd58ae8eda8b62d37da7a6dea913fd4a (patch)
tree75fc8483e74efd8c3d5267b0bfe9650901945f96 /ext/bcmath
parent6df5384610ad77bece932f6d0ad55559288fea63 (diff)
downloadphp-git-f9f456a9cd58ae8eda8b62d37da7a6dea913fd4a.tar.gz
MFH: bcmath.scale must be greater or equal to zero
Diffstat (limited to 'ext/bcmath')
-rw-r--r--ext/bcmath/bcmath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bcmath/bcmath.c b/ext/bcmath/bcmath.c
index 06e468a514..f3dfd83833 100644
--- a/ext/bcmath/bcmath.c
+++ b/ext/bcmath/bcmath.c
@@ -142,7 +142,7 @@ ZEND_GET_MODULE(bcmath)
/* {{{ PHP_INI */
PHP_INI_BEGIN()
- STD_PHP_INI_ENTRY("bcmath.scale", "0", PHP_INI_ALL, OnUpdateLong, bc_precision, zend_bcmath_globals, bcmath_globals)
+ STD_PHP_INI_ENTRY("bcmath.scale", "0", PHP_INI_ALL, OnUpdateLongGEZero, bc_precision, zend_bcmath_globals, bcmath_globals)
PHP_INI_END()
/* }}} */