From 33088beec13d19e972384dd013539130431a080e Mon Sep 17 00:00:00 2001 From: ghost Date: Sat, 3 Feb 2024 11:31:08 +0200 Subject: [PATCH] fix var name --- src/Dokuwiki/Reader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Dokuwiki/Reader.php b/src/Dokuwiki/Reader.php index 233e15a..e1bc221 100644 --- a/src/Dokuwiki/Reader.php +++ b/src/Dokuwiki/Reader.php @@ -163,7 +163,7 @@ class Reader // Convert DokuWiki text to Gemini public function toGemini(?string $data, ?array &$lines = []): ?string { - if (empty($gemini)) + if (empty($data)) { return null; }