]> git.mxchange.org Git - core.git/commitdiff
Fixed assertion.
authorRoland Haeder <roland@mxchange.org>
Thu, 15 May 2014 21:00:49 +0000 (23:00 +0200)
committerRoland Haeder <roland@mxchange.org>
Thu, 15 May 2014 21:00:49 +0000 (23:00 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
inc/classes/main/stacker/file_stack/class_BaseFileStack.php

index 911b92e5db5c45a145d8898985b88555fc333677..5ce4b338419e1588c21960a9c184351f8b12a984 100644 (file)
@@ -47,7 +47,7 @@ class BaseFileStack extends BaseStacker {
                $iteratorInstance = ObjectFactory::createObjectByConfiguredName('file_io_iterator_class', array($pointerInstance));
 
                // Is the instance implementing the right interface?
-               assert($iteratorInstance instanceof SeekableFileIterator);
+               assert($iteratorInstance instanceof SeekableWritableFileIterator);
 
                // Set iterator here
                $this->setIteratorInstance($iteratorInstance);