about summary refs log tree commit diff stats
path: root/backend.php
diff options
context:
space:
mode:
Diffstat (limited to 'backend.php')
-rw-r--r--backend.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/backend.php b/backend.php
index e245fb2..6318853 100644
--- a/backend.php
+++ b/backend.php
@@ -290,6 +290,8 @@
 				array_push($result, "No results for: <b>$orig_word</b>");
 
 			print json_encode(["result" => $result]);
+		} else {
+			print json_encode(["result" => ["Dictionary lookups are disabled."]]);
 		}
 
 		break;