]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/index/class_BaseIndex.php
writeAtPosition() also belongs in OutputPointer classes.
[core.git] / inc / classes / main / index / class_BaseIndex.php
index 9e001be7706178967f2e726178c5d88441ed1baf..b2977c6838e296096984e8d401f8ab9ab940707c 100644 (file)
@@ -122,7 +122,7 @@ class BaseIndex extends BaseFrameworkSystem {
                );
 
                // Write it to disk (header is always at seek position 0)
-               $this->writeData(0, $header, FALSE);
+               $this->getIteratorInstance()->writeData(0, $header, FALSE);
 
                //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput(sprintf('[%s:%d:] EXIT!', __METHOD__, __LINE__));
        }