]> git.mxchange.org Git - core.git/commitdiff
This call leads nowhere, so better call own method.
authorRoland Haeder <roland@mxchange.org>
Sat, 24 May 2014 13:50:34 +0000 (15:50 +0200)
committerRoland Haeder <roland@mxchange.org>
Sat, 24 May 2014 13:50:34 +0000 (15:50 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
inc/classes/main/file_directories/class_BaseFile.php

index d65bbd31f389b7007f22a5c77cf97bc26b55cecf..5fade9baeeaaded5a0f87f0af175e2fed130e20d 100644 (file)
@@ -208,7 +208,7 @@ y    * @return      void
                // Is the file initialized?
                if ($this->isFileInitialized()) {
                        // Some bytes has been written, so rewind to start of it.
-                       $rewindStatus = $this->getIteratorInstance()->rewind();
+                       $rewindStatus = $this->rewind();
                        //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput(sprintf('[%s:%d:] rewindStatus=%s', __METHOD__, __LINE__, $rewindStatus));
 
                        // Is the rewind() call successfull?