1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 12:48:24 +01:00

Match 0.7 version of bbcode

This commit is contained in:
e107steved 2010-09-21 07:44:33 +00:00
parent d7e6cd40ad
commit 137497355c

View File

@ -105,7 +105,7 @@ class bb_youtube extends e_bb_base
print_a($info);
return '[sanitised]'.$ok.'B'.htmlspecialchars($matches[0]).'B[/sanitised]';
}
$target = $info2['@attributes'];
$target = (array)$info2['@attributes'];
unset($info);
$ws = varset($target['width'], 0);
$hs = varset($target['height'], 0);