diff options
author | Marc Alexander <admin@m-a-styles.de> | 2015-06-07 22:53:41 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2015-06-07 22:53:41 +0200 |
commit | 9203bf3141851812bbef9cff3a2634d9849d8f44 (patch) | |
tree | 55c5bb417a10c520027031d9256612d6be8535db | |
parent | 6687b7e9ab543c69c83b386452b53ba03a473539 (diff) | |
download | forums-9203bf3141851812bbef9cff3a2634d9849d8f44.tar forums-9203bf3141851812bbef9cff3a2634d9849d8f44.tar.gz forums-9203bf3141851812bbef9cff3a2634d9849d8f44.tar.bz2 forums-9203bf3141851812bbef9cff3a2634d9849d8f44.tar.xz forums-9203bf3141851812bbef9cff3a2634d9849d8f44.zip |
[ticket/13930] Add missing spaces to code
PHPBB3-13930
-rw-r--r-- | phpBB/phpbb/cache/driver/memcache.php | 2 | ||||
-rw-r--r-- | phpBB/phpbb/captcha/plugins/qa.php | 2 | ||||
-rw-r--r-- | phpBB/phpbb/log/log.php | 2 | ||||
-rw-r--r-- | phpBB/phpbb/search/fulltext_sphinx.php | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/phpBB/phpbb/cache/driver/memcache.php b/phpBB/phpbb/cache/driver/memcache.php index 406ab11ddd..caa82fb0b1 100644 --- a/phpBB/phpbb/cache/driver/memcache.php +++ b/phpBB/phpbb/cache/driver/memcache.php @@ -50,7 +50,7 @@ class memcache extends \phpbb\cache\driver\memory parent::__construct(); $this->memcache = new \Memcache; - foreach(explode(',', PHPBB_ACM_MEMCACHE) as $u) + foreach (explode(',', PHPBB_ACM_MEMCACHE) as $u) { $parts = explode('/', $u); $this->memcache->addServer(trim($parts[0]), trim($parts[1])); diff --git a/phpBB/phpbb/captcha/plugins/qa.php b/phpBB/phpbb/captcha/plugins/qa.php index 04052b3406..2771369e57 100644 --- a/phpBB/phpbb/captcha/plugins/qa.php +++ b/phpBB/phpbb/captcha/plugins/qa.php @@ -350,7 +350,7 @@ class qa ), ); - foreach($schemas as $table => $schema) + foreach ($schemas as $table => $schema) { if (!$db_tool->sql_table_exists($table)) { diff --git a/phpBB/phpbb/log/log.php b/phpBB/phpbb/log/log.php index f4ba76ff0c..3d995b4e4a 100644 --- a/phpBB/phpbb/log/log.php +++ b/phpBB/phpbb/log/log.php @@ -535,7 +535,7 @@ class log implements \phpbb\log\log_interface 'ORDER_BY' => $sort_by, ); - if($log_time) + if ($log_time) { $get_logs_sql_ary['WHERE'] = 'l.log_time >= ' . (int) $log_time . ' AND ' . $get_logs_sql_ary['WHERE']; diff --git a/phpBB/phpbb/search/fulltext_sphinx.php b/phpBB/phpbb/search/fulltext_sphinx.php index eb53ca6d40..b3b1981ccf 100644 --- a/phpBB/phpbb/search/fulltext_sphinx.php +++ b/phpBB/phpbb/search/fulltext_sphinx.php @@ -138,7 +138,7 @@ class fulltext_sphinx // Initialize \phpbb\db\tools object $this->db_tools = new \phpbb\db\tools($this->db); - if(!$this->config['fulltext_sphinx_id']) + if (!$this->config['fulltext_sphinx_id']) { set_config('fulltext_sphinx_id', unique_id()); } |