From a36c19d12a939c9f8c3b4dc1edde1b6d5ff7a325 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Thu, 15 May 2014 23:00:49 +0200 Subject: [PATCH] Fixed assertion. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- inc/classes/main/stacker/file_stack/class_BaseFileStack.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5