diff options
author | sijanec <sijanecantonluka@gmail.com> | 2020-12-02 00:23:33 +0100 |
---|---|---|
committer | sijanec <sijanecantonluka@gmail.com> | 2020-12-02 00:23:33 +0100 |
commit | b744b2305e478bc8d76c0da91aeee88304a8fde7 (patch) | |
tree | 6c293de8984c32b18c90778ef0116cef5e21a3b7 /api/php/api.php | |
parent | syntax fix (diff) | |
download | sijanec.eu-b744b2305e478bc8d76c0da91aeee88304a8fde7.tar sijanec.eu-b744b2305e478bc8d76c0da91aeee88304a8fde7.tar.gz sijanec.eu-b744b2305e478bc8d76c0da91aeee88304a8fde7.tar.bz2 sijanec.eu-b744b2305e478bc8d76c0da91aeee88304a8fde7.tar.lz sijanec.eu-b744b2305e478bc8d76c0da91aeee88304a8fde7.tar.xz sijanec.eu-b744b2305e478bc8d76c0da91aeee88304a8fde7.tar.zst sijanec.eu-b744b2305e478bc8d76c0da91aeee88304a8fde7.zip |
Diffstat (limited to '')
-rw-r--r-- | api/php/api.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/php/api.php b/api/php/api.php index 51d7c8c..c2893ac 100644 --- a/api/php/api.php +++ b/api/php/api.php @@ -23,7 +23,7 @@ header("Content-Type: text/plain"); exit("400: Napaka. V zahtevi ni določeno, na kaj odgovarjate."); } - if (empty($_REQUEST["is-submitter-human"] != "true")) { + if ($_REQUEST["is-submitter-human"] != "true") { http_response_code(400); header("Content-Type: text/plain"); exit("400: Napaka. Izgleda, kakor da avtomatizirate zahteve. Koda napake: jebise"); |