Fixed @embed=false bug.

This commit is contained in:
Dave Longley 2011-10-20 20:31:38 -04:00
parent 72482dbe97
commit 093e3277d8
1 changed files with 1 additions and 1 deletions

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)