Showing 1 changed files with 1 additions and 1 deletions
+1 -1
sources/news-stsg.php
... ...
@@ -65,7 +65,7 @@ foreach ($articles as $article ) {
65 65
   libxml_clear_errors();
66 66
   libxml_use_internal_errors($libxml_previous_state);  
67 67
   $articleBody = $doc->getElementByID('articleBody');
68
-  if(NULL!= $article) {
68
+  if(NULL!= $articleBody) {
69 69
     $article_only = DOMinnerHTML($articleBody);
70 70
   }
71 71