aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/search/sphinx/config_variable.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2013-03-16 01:18:15 +0100
committerJoas Schilling <nickvergessen@gmx.de>2013-03-16 01:18:15 +0100
commitc50af280770a9db13043a41e34238a2434176936 (patch)
tree891750997a0d193905f1fd10ace3af5f24cb0ed3 /phpBB/includes/search/sphinx/config_variable.php
parent2b2bbf787c55e8922ae1c06242be1120a7e91eb7 (diff)
downloadforums-c50af280770a9db13043a41e34238a2434176936.tar
forums-c50af280770a9db13043a41e34238a2434176936.tar.gz
forums-c50af280770a9db13043a41e34238a2434176936.tar.bz2
forums-c50af280770a9db13043a41e34238a2434176936.tar.xz
forums-c50af280770a9db13043a41e34238a2434176936.zip
[ticket/11438] Add spaces after # comment start and before \ line breaks
PHPBB3-11438
Diffstat (limited to 'phpBB/includes/search/sphinx/config_variable.php')
-rw-r--r--phpBB/includes/search/sphinx/config_variable.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/search/sphinx/config_variable.php b/phpBB/includes/search/sphinx/config_variable.php
index 35abe281cb..2c1d35a49c 100644
--- a/phpBB/includes/search/sphinx/config_variable.php
+++ b/phpBB/includes/search/sphinx/config_variable.php
@@ -75,6 +75,6 @@ class phpbb_search_sphinx_config_variable
*/
function to_string()
{
- return "\t" . $this->name . ' = ' . str_replace("\n", "\\\n", $this->value) . ' ' . $this->comment . "\n";
+ return "\t" . $this->name . ' = ' . str_replace("\n", " \\\n", $this->value) . ' ' . $this->comment . "\n";
}
}