From 876b193180f72424be0adcf6d63064db4e3f6a8a Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Mon, 6 Oct 2008 05:50:16 +0000 Subject: [PATCH] some whitespace changes and opening files in binary mode in functions_messenger git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8971 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/adm/style/acp_users.html | 4 ++-- phpBB/includes/functions_messenger.php | 2 +- phpBB/viewtopic.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/phpBB/adm/style/acp_users.html b/phpBB/adm/style/acp_users.html index 2e4b3ef8f2..34e4147356 100644 --- a/phpBB/adm/style/acp_users.html +++ b/phpBB/adm/style/acp_users.html @@ -197,7 +197,7 @@ {S_ON_PAGE}{PAGINATION} - +

{L_MARK_ALL}{L_UNMARK_ALL}

@@ -215,7 +215,7 @@
- {L_SELECT_FORUM}: + {L_SELECT_FORUM}: {S_FORM_TOKEN}
diff --git a/phpBB/includes/functions_messenger.php b/phpBB/includes/functions_messenger.php index 2160d712d0..b125a1586a 100644 --- a/phpBB/includes/functions_messenger.php +++ b/phpBB/includes/functions_messenger.php @@ -690,7 +690,7 @@ class queue } else { - if ($fp = @fopen($this->cache_file, 'w')) + if ($fp = @fopen($this->cache_file, 'wb')) { @flock($fp, LOCK_EX); fwrite($fp, "queue_data = unserialize(" . var_export(serialize($this->queue_data), true) . ");\n\n?>"); diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php index a98a6176ad..b0b7b946be 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -181,7 +181,7 @@ $sql_array = array( 'FROM' => array(FORUMS_TABLE => 'f'), ); -// The FROM-Order is quite important here, else t.* columns can not be correctly bound. +// The FROM-Order is quite important here, else t.* columns can not be correctly bound. if ($post_id) { $sql_array['FROM'][POSTS_TABLE] = 'p';