Index: branches/MwEmbedStandAlone/mwEmbedFrame.php |
— | — | @@ -153,7 +153,7 @@ |
154 | 154 | <body> |
155 | 155 | <? |
156 | 156 | // Check if we have a way to get sources: |
157 | | - if( $this->apiTitleKey || $this->kentryid || count( $this->sources ) != 0 ) { |
| 157 | + if( isset( $this->apiTitleKey ) || isset( $this->kentryid ) || count( $this->sources ) != 0 ) { |
158 | 158 | echo $this->getVideoTag(); |
159 | 159 | } else { |
160 | 160 | echo "Error: mwEmbedFrame missing required parameter for video sources"; |