mysql/core_translate_lookup.sql
authorAlan Knowles <alan@roojs.com>
Wed, 9 Dec 2020 07:18:45 +0000 (15:18 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 9 Dec 2020 07:18:45 +0000 (15:18 +0800)
mysql/core_translate_lookup.sql

index 04223bb..75bc7b4 100644 (file)
@@ -35,7 +35,7 @@ RETURNS TEXT NOT DETERMINISTIC READS SQL DATA
             active = 1
         LIMIT 1;
             
-        IF v_id < 1 OR LENGTH(txt) < 1 THEN
+        IF v_id < 1 OR LENGTH(v_ret) < 1 THEN
             RETURN in_default;
         END IF;