]> granicus.if.org Git - php/commitdiff
- Fix issue found by nuno
authorMarcus Boerger <helly@php.net>
Sun, 15 Jan 2006 00:17:08 +0000 (00:17 +0000)
committerMarcus Boerger <helly@php.net>
Sun, 15 Jan 2006 00:17:08 +0000 (00:17 +0000)
ext/spl/spl_directory.c

index 494602d67158e76e674d3205b7c0c3ddd4c10d3d..a3290f02d98f117e28fc51bc17e2c834c3db6277 100755 (executable)
@@ -368,6 +368,7 @@ static spl_filesystem_object * spl_filesystem_object_create_type(int ht, spl_fil
                        Z_TYPE_P(return_value) = IS_NULL;
                        return NULL;
                }
+               break;
        case SPL_FS_DIR:        
                php_set_error_handling(EH_NORMAL, NULL TSRMLS_CC);
                zend_throw_exception_ex(U_CLASS_ENTRY(spl_ce_RuntimeException), 0 TSRMLS_CC, "Operation not supported");