summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
Diffstat (limited to 'api')
-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 1140dde..51d7c8c 100644
--- a/api/php/api.php
+++ b/api/php/api.php
@@ -44,7 +44,7 @@
"ip" => $_SERVER['REMOTE_ADDR'],
"addedby" => "PHP API 0.0.0",
"nonce" => hash('sha256', $vzdevek."|".$datum."|".random_bytes(69))
- i));
+ ));
$response = file_put_contents($commentsfile, $cm, FILE_APPEND); // pri append ni locka
if ($response === FALSE) {
http_response_code(500);