helly           Wed Apr 14 19:26:56 2004 EDT

  Modified files:              
    /php-src/ext/spl    spl_iterators.c 
  Log:
  Bugfix #27997
  
http://cvs.php.net/diff.php/php-src/ext/spl/spl_iterators.c?r1=1.30&r2=1.31&ty=u
Index: php-src/ext/spl/spl_iterators.c
diff -u php-src/ext/spl/spl_iterators.c:1.30 php-src/ext/spl/spl_iterators.c:1.31
--- php-src/ext/spl/spl_iterators.c:1.30        Thu Apr  8 18:46:43 2004
+++ php-src/ext/spl/spl_iterators.c     Wed Apr 14 19:26:56 2004
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: spl_iterators.c,v 1.30 2004/04/08 22:46:43 helly Exp $ */
+/* $Id: spl_iterators.c,v 1.31 2004/04/14 23:26:56 helly Exp $ */
 
 #ifdef HAVE_CONFIG_H
 # include "config.h"
@@ -602,7 +602,7 @@
        intern = (spl_dual_it_object*)zend_object_store_get_object(getThis() 
TSRMLS_CC);
 
        if (intern->inner.zobject) {
-               RETVAL_ZVAL(intern->inner.zobject, 0, 0);
+               RETVAL_ZVAL(intern->inner.zobject, 1, 0);
        } else {
                RETURN_NULL();
        }

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to