From 23e3724abb62649777dd9f8956094dc03acb8510 Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Sun, 15 Aug 2021 17:49:22 +0200 Subject: [PATCH] ignore words without id for status --- lib-php/tokenizer/legacy_icu_tokenizer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib-php/tokenizer/legacy_icu_tokenizer.php b/lib-php/tokenizer/legacy_icu_tokenizer.php index 3751e821..4e297954 100644 --- a/lib-php/tokenizer/legacy_icu_tokenizer.php +++ b/lib-php/tokenizer/legacy_icu_tokenizer.php @@ -19,7 +19,7 @@ class Tokenizer public function checkStatus() { - $sSQL = 'SELECT word_id FROM word limit 1'; + $sSQL = 'SELECT word_id FROM word WHERE word_id is not null limit 1'; $iWordID = $this->oDB->getOne($sSQL); if ($iWordID === false) { throw new \Exception('Query failed', 703); -- 2.39.5