From 137497355c0e7343f2bf25efef449211425c83b3 Mon Sep 17 00:00:00 2001 From: e107steved Date: Tue, 21 Sep 2010 07:44:33 +0000 Subject: [PATCH] Match 0.7 version of bbcode --- e107_core/bbcodes/bb_youtube.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107_core/bbcodes/bb_youtube.php b/e107_core/bbcodes/bb_youtube.php index b17dfbafa..8b36368fb 100644 --- a/e107_core/bbcodes/bb_youtube.php +++ b/e107_core/bbcodes/bb_youtube.php @@ -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);