Commit:    0ff9b622a13b3a4fb2553ea1215ec6480f773934
Author:    Peter Kokot <peterko...@gmail.com>         Fri, 26 Oct 2018 00:23:52 
+0200
Parents:   96726571bc5a85fb7b4279892c06e704f65f917a
Branches:  master

Link:       
http://git.php.net/?p=web/qa.git;a=commitdiff;h=0ff9b622a13b3a4fb2553ea1215ec6480f773934

Log:
Fix typo

Changed paths:
  M  pulls/api.php


Diff:
diff --git a/pulls/api.php b/pulls/api.php
index d07038c..c7b2f06 100644
--- a/pulls/api.php
+++ b/pulls/api.php
@@ -180,7 +180,7 @@ function ghupdate()
 
        if (empty($_POST['id']) || !is_numeric($_POST['id'])) {
                header('HTTP/1.0 400 Bad Request');
-               die(json_encode(['success' => false, 'errors' => ["No or inalid 
id provided"]]));
+               die(json_encode(['success' => false, 'errors' => ["No or 
invalid id provided"]]));
        }
 
        if (empty($_POST['comment']) || !($comment = trim($_POST['comment']))) {

Reply via email to