aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb
diff options
context:
space:
mode:
authorJoshyPHP <s9e.dev@gmail.com>2015-05-20 10:34:49 +0200
committerJoshyPHP <s9e.dev@gmail.com>2015-05-30 17:26:01 +0200
commit1275f77da5e1522d530bee55a5aa493817f58e71 (patch)
treedb509ad3be76fdd5acd9faacf511f7e33b470015 /phpBB/phpbb
parentf463b99ad0e6592567ed5a7fa5d2e765089b80ae (diff)
downloadforums-1275f77da5e1522d530bee55a5aa493817f58e71.tar
forums-1275f77da5e1522d530bee55a5aa493817f58e71.tar.gz
forums-1275f77da5e1522d530bee55a5aa493817f58e71.tar.bz2
forums-1275f77da5e1522d530bee55a5aa493817f58e71.tar.xz
forums-1275f77da5e1522d530bee55a5aa493817f58e71.zip
[ticket/13803] Renamed var
PHPBB3-13803
Diffstat (limited to 'phpBB/phpbb')
-rw-r--r--phpBB/phpbb/textreparser/base.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/phpBB/phpbb/textreparser/base.php b/phpBB/phpbb/textreparser/base.php
index 2b8cacb092..4afcecff6a 100644
--- a/phpBB/phpbb/textreparser/base.php
+++ b/phpBB/phpbb/textreparser/base.php
@@ -185,10 +185,10 @@ abstract class base implements reparser_interface
);
// generate_text_for_edit() and decode_message() actually return the text as HTML. It has to
// be decoded to plain text before it can be reparsed
- $parsed_text = html_entity_decode($unparsed['text'], ENT_QUOTES, 'UTF-8');
+ $text = html_entity_decode($unparsed['text'], ENT_QUOTES, 'UTF-8');
$bitfield = $flags = null;
generate_text_for_storage(
- $parsed_text,
+ $text,
$unparsed['bbcode_uid'],
$bitfield,
$flags,
@@ -202,9 +202,9 @@ abstract class base implements reparser_interface
);
// Save the new text if it has changed
- if ($parsed_text !== $record['text'])
+ if ($text !== $record['text'])
{
- $record['text'] = $parsed_text;
+ $record['text'] = $text;
$this->save_record($record);
}
}