From 487ca9229997f0bd1c5ed228cf7dc3a033fce329 Mon Sep 17 00:00:00 2001 From: Nils Adermann Date: Thu, 16 Aug 2007 12:19:26 +0000 Subject: - added information about Unicode to coding guidelines - two little changes git-svn-id: file:///svn/phpbb/trunk@8035 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/message_parser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/includes/message_parser.php') diff --git a/phpBB/includes/message_parser.php b/phpBB/includes/message_parser.php index fda31a20e3..c2d40670af 100644 --- a/phpBB/includes/message_parser.php +++ b/phpBB/includes/message_parser.php @@ -1371,7 +1371,7 @@ class parse_message extends bbcode_firstpass include_once($phpbb_root_path . 'includes/functions_admin.' . $phpEx); $index = array_keys(request_var('delete_file', array(0 => 0))); - $index = (!empty($index[0])) ? $index[0] : false; + $index = (!empty($index)) ? $index[0] : false; if ($index !== false && !empty($this->attachment_data[$index])) { -- cgit v1.2.1