]> granicus.if.org Git - php/commitdiff
Fix test
authorMarcus Boerger <helly@php.net>
Fri, 19 Mar 2004 20:05:39 +0000 (20:05 +0000)
committerMarcus Boerger <helly@php.net>
Fri, 19 Mar 2004 20:05:39 +0000 (20:05 +0000)
# removing string conversion was a stupid idea

ext/sqlite/tests/sqlite_oo_031.phpt

index 80a2138cbf84f212e79bfd63a88e381938e1e6be..6a340c011db2f18516cff54f5546819ea43a6977 100755 (executable)
@@ -77,7 +77,7 @@ class SqliteNestedset implements RecursiveIterator
        
        function current()
        {
-               return (string)$this->entry;
+               return $this->entry->__toString();
        }
        
        function key()