X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Findex%2Fclass_BaseIndex.php;h=9791051eb918a387761368aa013341e52d1a5eab;hp=45bbebceef49527940185ca56126e4bfeb2c25ac;hb=6139ad59a501171e42f9766eb61f8a9113dd65de;hpb=3111839cd1c7877a5db1456dae218c71e07f2883 diff --git a/inc/classes/main/index/class_BaseIndex.php b/inc/classes/main/index/class_BaseIndex.php index 45bbebce..9791051e 100644 --- a/inc/classes/main/index/class_BaseIndex.php +++ b/inc/classes/main/index/class_BaseIndex.php @@ -66,7 +66,7 @@ class BaseIndex extends BaseFrameworkSystem { $data = substr($data, 0, -1); // And update seek position - $this->updateSeekPosition(); + $this->getIteratorInstance()->updateSeekPosition(); /* * Now split it: @@ -77,7 +77,7 @@ class BaseIndex extends BaseFrameworkSystem { $header = explode(chr(BaseFile::SEPARATOR_HEADER_DATA), $data); // Set it here - $this->setHeader($header); + $this->getIteratorInstance()->setHeader($header); // Check if the array has only 3 elements //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput(sprintf('[%s:%d:] header(%d)=%s', __METHOD__, __LINE__, count($header), print_r($header, TRUE)));