summaryrefslogtreecommitdiffstats
path: root/api/php
diff options
context:
space:
mode:
Diffstat (limited to 'api/php')
-rw-r--r--api/php/api.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/php/api.php b/api/php/api.php
index e7dba14..780408c 100644
--- a/api/php/api.php
+++ b/api/php/api.php
@@ -8,7 +8,7 @@
} else {
$vzdevek = $_REQUEST['vzdevek'];
}
- if (empty($_REQUESTT['message'])) {
+ if (empty($_REQUEST['message'])) {
http_response_code(400);
header("Content-Type: text/plain");
exit("400: Napaka. Niste vnesli sporočila.");