com web/bugs: Fixes an issue with a missing whitespace: include/query.php

From: Date: Mon, 24 Jul 2017 19:24:19 +0000
Subject: com web/bugs: Fixes an issue with a missing whitespace: include/query.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-26236@lists.php.net to get a copy of this message
Commit: e0bb3932d6a1834b269db96a5f233c6cd2921002 Author: Andreas Heigl <andreas@heigl.org> Mon, 24 Jul 2017 21:24:19 +0200 Parents: 6c3fa2f4e6f795cd76aea57639220297e64c2b13 Branches: master Link: http://git.php.net/?p=web/bugs.git;a=commitdiff;h=e0bb3932d6a1834b269db96a5f233c6cd2921002 Log: Fixes an issue with a missing whitespace As @johannes spotted the query didn't add a whitespace so that it might get added right to the preceding one without ans whitespace. Changed paths: M include/query.php Diff: diff --git a/include/query.php b/include/query.php index 1617b7b..6fb6f6a 100644 --- a/include/query.php +++ b/include/query.php @@ -68,7 +68,7 @@ if (isset($_GET['cmd']) && $_GET['cmd'] == 'display') } if ($commented_by != '') { - $query .= 'LEFT JOIN bugdb_comments c ON bugdb.id = c.bug'; + $query .= ' LEFT JOIN bugdb_comments c ON bugdb.id = c.bug'; } $where_clause = ' WHERE 1 = 1 ';

« previous php.webmaster (#26236) next »