Fixed @embed=false bug.
This commit is contained in:
parent
72482dbe97
commit
093e3277d8
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue