This commit is contained in:
Pablo Tejada 2016-09-16 02:59:52 +00:00 committed by GitHub
commit d7b626ae9f

View file

@ -437,7 +437,7 @@ class WebhookController extends \b8\Controller
{
$project = $this->projectStore->getById($projectId);
if (empty($projectId)) {
if (empty($project)) {
throw new Exception('Project does not exist: ' . $projectId);
}