Rewrote core:
[core.git] / inc / classes / main / streams / crypto / class_McryptStream.php
index 4607bd4c9bc722cddcc48aa24b08b3d8a1495330..7f6f1e9ef0afb50ee92c910e70cf2b4933c5ee97 100644 (file)
@@ -163,7 +163,7 @@ class McryptStream 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);
        }
 }