summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsijanec <sijanecantonluka@gmail.com>2020-12-02 00:12:35 +0100
committersijanec <sijanecantonluka@gmail.com>2020-12-02 00:12:35 +0100
commitaef27e55a5c2db577123e050f5ffaa6535c32070 (patch)
treec3f9846dd2bbad561f2412f599ed52d4ca2c5d4c
parentpopravil /api v /api/ (diff)
downloadsijanec.eu-aef27e55a5c2db577123e050f5ffaa6535c32070.tar
sijanec.eu-aef27e55a5c2db577123e050f5ffaa6535c32070.tar.gz
sijanec.eu-aef27e55a5c2db577123e050f5ffaa6535c32070.tar.bz2
sijanec.eu-aef27e55a5c2db577123e050f5ffaa6535c32070.tar.lz
sijanec.eu-aef27e55a5c2db577123e050f5ffaa6535c32070.tar.xz
sijanec.eu-aef27e55a5c2db577123e050f5ffaa6535c32070.tar.zst
sijanec.eu-aef27e55a5c2db577123e050f5ffaa6535c32070.zip
-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.");