diff options
-rwxr-xr-x | ext/spl/spl_directory.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/spl/spl_directory.c b/ext/spl/spl_directory.c index 2b5c7da5d0..123481c7c1 100755 --- a/ext/spl/spl_directory.c +++ b/ext/spl/spl_directory.c @@ -437,8 +437,8 @@ SPL_METHOD(DirectoryIterator, __construct) if (!len) { php_set_error_handling(EH_NORMAL, NULL TSRMLS_CC); - zend_throw_exception_ex(spl_ce_RuntimeException, 0 TSRMLS_CC, "Directory name must not be empty."); - return; + zend_throw_exception_ex(spl_ce_RuntimeException, 0 TSRMLS_CC, "Directory name must not be empty."); + return; } intern = (spl_filesystem_object*)zend_object_store_get_object(getThis() TSRMLS_CC); |