mirror of
https://github.com/e107inc/e107.git
synced 2025-07-30 03:10:50 +02:00
Null checks for e107TinyMceParserTest
- FIX: Do not redefine e_ADMIN_AREA in parser.php - FIX: Null checks for e107TinyMceParser - FIX: Array type check for e_bbcode::imgToBBcode() - FIX: Optional query string in e_parse::thumbUrlDecode() - FIX: Don't redefine TINYMCE_UNIT_TEST
This commit is contained in:
@@ -735,6 +735,7 @@ class e_bbcode
|
||||
print_a($arr);
|
||||
}
|
||||
|
||||
$arr['img'] = isset($arr['img']) && is_array($arr['img']) ? $arr['img'] : [];
|
||||
foreach($arr['img'] as $img)
|
||||
{
|
||||
if(/*substr($img['src'],0,4) == 'http' ||*/ strpos($img['src'], e_IMAGE_ABS.'emotes/')!==false) // dont resize external images or emoticons.
|
||||
|
Reference in New Issue
Block a user