fix nl2br: $textarray could be null on category pages
This commit is contained in:
@@ -624,6 +624,10 @@ p.wl_notopbottom {
|
|||||||
$tagstack = array();
|
$tagstack = array();
|
||||||
$isolation_flag = false;
|
$isolation_flag = false;
|
||||||
|
|
||||||
|
if (! is_array($textarray)) {
|
||||||
|
return $text;
|
||||||
|
}
|
||||||
|
|
||||||
for ($i=0; $i < count($textarray); $i++)
|
for ($i=0; $i < count($textarray); $i++)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user