Fixed @embed=false bug.

This commit is contained in:
Dave Longley 2011-10-20 20:31:38 -04:00
parent 72482dbe97
commit 093e3277d8

View file

@ -2488,7 +2488,7 @@ function _subframe(
// autoembed mode is off.
$embedOn =
((property_exists($frame, '@embed') and $frame->{'@embed'}) or
$options->defaults->embedOn) and
(!property_exists($frame, '@embed') and $options->defaults->embedOn)) and
($embed === null or ($embed->autoembed and !$autoembed));
if(!$embedOn)