com web/bugs: Fix SQL string typo: src/Repository/ReasonRepository.php

From: Date: Mon, 17 Dec 2018 23:28:58 +0000
Subject: com web/bugs: Fix SQL string typo: src/Repository/ReasonRepository.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-27592@lists.php.net to get a copy of this message
Commit: 7203dec380656b953170f5aa63f4d271c2801f65 Author: Peter Kokot <peterkokot@gmail.com> Tue, 18 Dec 2018 00:28:58 +0100 Parents: 10b0ad9cbe6a764b72b2fad0ed2ce3d349992d6c Branches: master Link: http://git.php.net/?p=web/bugs.git;a=commitdiff;h=7203dec380656b953170f5aa63f4d271c2801f65 Log: Fix SQL string typo Changed paths: M src/Repository/ReasonRepository.php Diff: diff --git a/src/Repository/ReasonRepository.php b/src/Repository/ReasonRepository.php index c8d74c8..fd4f411 100644 --- a/src/Repository/ReasonRepository.php +++ b/src/Repository/ReasonRepository.php @@ -30,7 +30,7 @@ class ReasonRepository $arguments = []; if ($project !== '') { - $sql = " WHERE (project = ? OR project = '')"; + $sql .= " WHERE (project = ? OR project = '')"; $arguments[] = $project; }

« previous php.webmaster (#27592) next »