]> granicus.if.org Git - php/commitdiff
- WS
authorMarcus Boerger <helly@php.net>
Tue, 7 Mar 2006 20:22:12 +0000 (20:22 +0000)
committerMarcus Boerger <helly@php.net>
Tue, 7 Mar 2006 20:22:12 +0000 (20:22 +0000)
ext/spl/spl_directory.c

index 2b5c7da5d0b12b8dee29b16599cd8b0922882b89..123481c7c1004b18d3c81a8aa82a1ae101a4336b 100755 (executable)
@@ -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);