com web/bugs: Trim trailing whitespaces: include/query.php templates/search-rdf.php www/admin/index.php www/bug.php www/report.php
| From: | Peter Kokot | Date: | Fri, 14 Dec 2018 14:20:09 +0000 |
| Subject: | com web/bugs: Trim trailing whitespaces: include/query.php templates/search-rdf.php www/admin/index.php www/bug.php www/report.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-27566@lists.php.net to get a copy of this message | ||
Commit: bae5fa6c4428956efd618bf69038f724875b7de5
Author: Peter Kokot <peterkokot@gmail.com> Fri, 14 Dec 2018 15:20:09 +0100
Parents: 9b248f9ed6a53dcc6400edbc1e0728c25a44cf89
Branches: master
Link: http://git.php.net/?p=web/bugs.git;a=commitdiff;h=bae5fa6c4428956efd618bf69038f724875b7de5
Log:
Trim trailing whitespaces
Changed paths:
M include/query.php
M templates/search-rdf.php
M www/admin/index.php
M www/bug.php
M www/report.php
Diff:
diff --git a/include/query.php b/include/query.php
index 028f57a..da996d8 100644
--- a/include/query.php
+++ b/include/query.php
@@ -58,7 +58,7 @@ $commented_by = !empty($_GET['commented_by']) ?
spam_protect($_GET['commented_by
if (isset($_GET['cmd']) && $_GET['cmd'] == 'display')
{
$query = '
- SELECT SQL_CALC_FOUND_ROWS
+ SELECT SQL_CALC_FOUND_ROWS
bugdb.*,
TO_DAYS(NOW())-TO_DAYS(bugdb.ts2) AS unchanged,
UNIX_TIMESTAMP(ts1) AS submitted,
diff --git a/templates/search-rdf.php b/templates/search-rdf.php
index 68d3e93...496ddfa 100644
--- a/templates/search-rdf.php
+++ b/templates/search-rdf.php
@@ -2,7 +2,7 @@
header('Content-type: text/xml');
echo '<?xml version="1.0"?>
-<?xml-stylesheet
+<?xml-stylesheet
href="http://www.w3.org/2000/08/w3c-synd/style.css"
type="text/css"
?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://purl.org/rss/1.0/"
diff --git a/www/admin/index.php b/www/admin/index.php
index e6f381b..f7952a5 100644
--- a/www/admin/index.php
+++ b/www/admin/index.php
@@ -51,8 +51,8 @@ if ($action === 'phpinfo') {
} elseif ($action === 'list_lists') {
$res = $dbh->query("
- SELECT name, list_email
- FROM bugdb_pseudo_packages
+ SELECT name, list_email
+ FROM bugdb_pseudo_packages
WHERE project = 'php'
AND LENGTH(list_email) > 0
ORDER BY list_email
diff --git a/www/bug.php b/www/bug.php
index 2dbb79c..502e50a 100644
--- a/www/bug.php
+++ b/www/bug.php
@@ -1162,10 +1162,10 @@ function do_comment(nd)
{
$('#comment_filter > .control.active').removeClass("active");
$(nd).addClass("active");
-
+
$.cookie('history_tab', nd.id, { expires: 365 });
-
- if (nd.id == 'type_all') {
+
+ if (nd.id == 'type_all') {
$('#comments_view > .comment:hidden').show('slow');
} else {
$('#comments_view > .comment').each(function(i) {
diff --git a/www/report.php b/www/report.php
index 4ff4869..017cea1 100644
--- a/www/report.php
+++ b/www/report.php
@@ -117,7 +117,7 @@ if (isset($_POST['in'])) {
foreach ($possible_duplicates as $row) {
$resolution = $dbh->prepare("
- SELECT comment
+ SELECT comment
FROM bugdb_comments
WHERE bug = ?
ORDER BY id DESC