com web/people: Fixed typo when master cannot be reached: include/misc.php
| From: | Maciej Sobaczewski | Date: | Thu, 21 May 2015 20:33:07 +0000 |
| Subject: | com web/people: Fixed typo when master cannot be reached: include/misc.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-25568@lists.php.net to get a copy of this message | ||
Commit: 7c7a89308aca4daaea8a48a83b0630ef471b222b
Author: Pieter Hordijk <info@pieterhordijk.com> Thu, 21 May 2015 22:33:07 +0200
Parents: 907e0134fd205944e395a8f05e0f56afa1484dee
Branches: master
Link: http://git.php.net/?p=web/people.git;a=commitdiff;h=7c7a89308aca4daaea8a48a83b0630ef471b222b
Log:
Fixed typo when master cannot be reached
When master cannot be reached the error
> Something happend to master
is printed to the screen. This should be happened instead.
Changed paths:
M include/misc.php
Diff:
diff --git a/include/misc.php b/include/misc.php
index fcbbdff..d36783c 100644
--- a/include/misc.php
+++ b/include/misc.php
@@ -26,7 +26,7 @@ function findAllUsers($batch) {
$retval = cached($url, false, $ctx);
$json = json_decode($retval, true);
if (!is_array($json)) {
- error("Something happend to master");
+ error("Something happened to master");
}
if (isset($json["error"])) {
error($json["error"]);