From 54580580992a461a6679c516b80117911f2e4705 Mon Sep 17 00:00:00 2001 From: Tobias Feijten Date: Sat, 18 Jan 2020 13:48:54 +0100 Subject: [PATCH] Fix bug in LockedLatexGenerator (#34) --- Generator/LockedLatexGenerator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Generator/LockedLatexGenerator.php b/Generator/LockedLatexGenerator.php index c60056e..59f9aad 100644 --- a/Generator/LockedLatexGenerator.php +++ b/Generator/LockedLatexGenerator.php @@ -80,7 +80,7 @@ public function createPdfResponse(LatexBaseInterface $latex, bool $download = tr public function createTexResponse(LatexBaseInterface $latex, bool $download = true) { $this->ensureLock(); - return $this->createTexResponse($latex, $download); + return $this->generator->createTexResponse($latex, $download); } /**