mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-11 13:58:54 +00:00
[ticket/13803] Renamed var
PHPBB3-13803
This commit is contained in:
parent
f463b99ad0
commit
1275f77da5
1 changed files with 4 additions and 4 deletions
|
@ -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
|
// 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
|
// 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;
|
$bitfield = $flags = null;
|
||||||
generate_text_for_storage(
|
generate_text_for_storage(
|
||||||
$parsed_text,
|
$text,
|
||||||
$unparsed['bbcode_uid'],
|
$unparsed['bbcode_uid'],
|
||||||
$bitfield,
|
$bitfield,
|
||||||
$flags,
|
$flags,
|
||||||
|
@ -202,9 +202,9 @@ abstract class base implements reparser_interface
|
||||||
);
|
);
|
||||||
|
|
||||||
// Save the new text if it has changed
|
// 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);
|
$this->save_record($record);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue