Rewrote core:
[core.git] / inc / classes / main / streams / crypto / class_NullCryptoStream.php
index a8fb9ecdca1bf127cd92cebaf532066e4dd49e1b..25372a9944ee49e1173737b3ee99ac82bf84f563 100644 (file)
@@ -82,7 +82,7 @@ class NullCryptoStream extends BaseStream implements EncryptableStream {
         * @throws      UnsupportedOperationException   If this method is called (which is a mistake)
         */
        public function streamData ($data) {
-               $this->debugOutput('Unhandled ' . strlen($data) . ' bytes in this stream.');
+               self::createDebugInstance(__CLASS__)->debugOutput('Unhandled ' . strlen($data) . ' bytes in this stream.');
                throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION);
        }
 }