From: Roland Haeder Date: Thu, 15 May 2014 21:00:49 +0000 (+0200) Subject: Fixed assertion. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a36c19d12a939c9f8c3b4dc1edde1b6d5ff7a325;p=core.git Fixed assertion. Signed-off-by: Roland Häder --- diff --git a/inc/classes/main/stacker/file_stack/class_BaseFileStack.php b/inc/classes/main/stacker/file_stack/class_BaseFileStack.php index 911b92e5..5ce4b338 100644 --- a/inc/classes/main/stacker/file_stack/class_BaseFileStack.php +++ b/inc/classes/main/stacker/file_stack/class_BaseFileStack.php @@ -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);