Commit: acbafe16189ee1b8ab8bd1ef061f13456880ebcd Author: kovacs.ferenc <[email protected]> Tue, 10 Jun 2014 20:08:16 +0200 Parents: 957a4a8351e9754671e7f8439d4429e5fd019867 Branches: master
Link: http://git.php.net/?p=web/master.git;a=commitdiff;h=acbafe16189ee1b8ab8bd1ef061f13456880ebcd Log: oops, thanks salathe Changed paths: M github-webhook.php Diff: diff --git a/github-webhook.php b/github-webhook.php index bb78f62..70f15e8 100644 --- a/github-webhook.php +++ b/github-webhook.php @@ -32,7 +32,7 @@ switch ($_SERVER['HTTP_X_GITHUB_EVENT']) { // if we somehow end up receiving a PR for a repo not matching anything send it to systems so that we can fix it $to = '[email protected]'; foreach ($config['repos'] as $repoPrefix => $email) { - if (strpos($repoName, $repoPrefix) !== 0) { + if (strpos($repoName, $repoPrefix) === 0) { $to = $email; } } -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
