Index: trunk/extensions/OpenGraphMeta/OpenGraphMeta.php |
— | — | @@ -78,7 +78,7 @@ |
79 | 79 | $meta["og:title"] = $title->getText(); |
80 | 80 | } |
81 | 81 | |
82 | | - if ( isset($out->mMainImage) ) { |
| 82 | + if ( isset($out->mMainImage) && ($out->mMainImage !== false) ) { |
83 | 83 | $meta["og:image"] = wfExpandUrl($out->mMainImage->createThumb(100*3, 100)); |
84 | 84 | } else if ( $isMainpage ) { |
85 | 85 | $meta["og:image"] = $wgLogo; |