From 6b334d8b7cb201635c0e7eb1cef2d78b2be3ede3 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Fri, 12 Oct 2007 10:04:44 +0000 Subject: [PATCH] small fix - david: please review the mssql change git-svn-id: file:///svn/phpbb/trunk@8165 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/db/mssql.php | 2 +- phpBB/styles/prosilver/template/posting_preview.html | 2 +- phpBB/styles/prosilver/template/ucp_prefs_view.html | 2 +- phpBB/styles/prosilver/template/viewtopic_body.html | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/phpBB/includes/db/mssql.php b/phpBB/includes/db/mssql.php index a1fce22214..b222588cf2 100644 --- a/phpBB/includes/db/mssql.php +++ b/phpBB/includes/db/mssql.php @@ -234,7 +234,7 @@ class dbal_mssql extends dbal { foreach ($row as $key => $value) { - $row[$key] = ($value === ' ') ? '' : $value; + $row[$key] = ($value === ' ' || $value === NULL) ? '' : $value; } } diff --git a/phpBB/styles/prosilver/template/posting_preview.html b/phpBB/styles/prosilver/template/posting_preview.html index 5c99d6f5b4..7ea1fb063d 100644 --- a/phpBB/styles/prosilver/template/posting_preview.html +++ b/phpBB/styles/prosilver/template/posting_preview.html @@ -10,7 +10,7 @@
-
checked="checked"/> checked="checked" />
+
checked="checked" /> checked="checked" />
diff --git a/phpBB/styles/prosilver/template/ucp_prefs_view.html b/phpBB/styles/prosilver/template/ucp_prefs_view.html index 2df8713971..993a0146e9 100644 --- a/phpBB/styles/prosilver/template/ucp_prefs_view.html +++ b/phpBB/styles/prosilver/template/ucp_prefs_view.html @@ -27,7 +27,7 @@
- +
diff --git a/phpBB/styles/prosilver/template/viewtopic_body.html b/phpBB/styles/prosilver/template/viewtopic_body.html index 0fbaecaf43..c1a8f3b067 100644 --- a/phpBB/styles/prosilver/template/viewtopic_body.html +++ b/phpBB/styles/prosilver/template/viewtopic_body.html @@ -73,7 +73,7 @@
title="{L_POLL_VOTED_OPTION}">
{poll_option.POLL_OPTION_CAPTION}
-
checked="checked"/> checked="checked" />
+
checked="checked" /> checked="checked" />
{poll_option.POLL_OPTION_RESULT}
{L_NO_VOTES}{poll_option.POLL_OPTION_PERCENT}