aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/search/sphinx/config_variable.php
diff options
context:
space:
mode:
authorOleg Pudeyev <oleg@bsdpower.com>2013-03-20 11:43:14 -0400
committerOleg Pudeyev <oleg@bsdpower.com>2013-03-20 11:43:14 -0400
commit8b464e87f0a41422dddaa647ac42ab9c7950bb4b (patch)
treedbbc6b3e6688bd154af322e06fd8bb125b69766a /phpBB/includes/search/sphinx/config_variable.php
parentb51a66b60bffd0e4e07a7bd8db6532762c52678d (diff)
parentc50af280770a9db13043a41e34238a2434176936 (diff)
downloadforums-8b464e87f0a41422dddaa647ac42ab9c7950bb4b.tar
forums-8b464e87f0a41422dddaa647ac42ab9c7950bb4b.tar.gz
forums-8b464e87f0a41422dddaa647ac42ab9c7950bb4b.tar.bz2
forums-8b464e87f0a41422dddaa647ac42ab9c7950bb4b.tar.xz
forums-8b464e87f0a41422dddaa647ac42ab9c7950bb4b.zip
Merge PR #1298 branch 'nickvergessen/ticket/11438' into develop
# By Joas Schilling # Via Joas Schilling * nickvergessen/ticket/11438: [ticket/11438] Add spaces after # comment start and before \ line breaks [ticket/11438] Add helpful comments from sample config to ACP output [ticket/11438] Add empty sql_query_pre to delta-source [ticket/11438] Move backslash to concatenate the query strings correctly [ticket/11438] Update sphinx.sample.conf to one provided by config_generate()
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";
}
}