-
Bug
-
Resolution: Duplicate
-
Trivial
-
3.0.11
-
None
-
PHP 5.3.8
Function generate_text_for_display() in /includes/functions_content.php is checking too loosely on the parameter $text:
if (!$text)
|
{
|
return '';
|
}
|
The correct code should be:
if ($text === '')
|
{
|
return '';
|
}
|
Reaction to https://www.phpbb.com/community/viewtopic.php?f=71&t=2165721&p=13201648#p13201648
- duplicates
-
PHPBB-11214 generate_text_for_display
- Closed
- was obsoleted by solution of
-
PHPBB-11762 generate_text_for_display() treats "0" as an empty string
- Closed