diff options
| author | Marcus Boerger <helly@php.net> | 2006-05-09 23:54:48 +0000 |
|---|---|---|
| committer | Marcus Boerger <helly@php.net> | 2006-05-09 23:54:48 +0000 |
| commit | 11f26c2c2a3f41863347fcabddd6f1097518ce99 (patch) | |
| tree | 660c6b6eff8747b5b3b72c0f933ea0fa04f22207 | |
| parent | 0de69fe97dc86d25ecb572cb9d80dad4418612ef (diff) | |
| download | php-git-11f26c2c2a3f41863347fcabddd6f1097518ce99.tar.gz | |
- Tweak version check
| -rwxr-xr-x | ext/pdo/pdo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo/pdo.c b/ext/pdo/pdo.c index 36d55ed4e2..a41dce27e3 100755 --- a/ext/pdo/pdo.c +++ b/ext/pdo/pdo.c @@ -74,7 +74,7 @@ PDO_API zend_class_entry *php_pdo_get_exception_base(int root TSRMLS_DC) } } #endif -#if (PHP_MAJOR_VERSION < 6) +#if (PHP_MAJOR_VERSION <= 5) && (PHP_MINOR_VERSION < 2) return zend_exception_get_default(); #else return zend_exception_get_default(TSRMLS_C); |
