Browse Source

Fix notice about undefined variable

Paul de Rosanbo 8 years ago
parent
commit
f22b4b33df
1 changed files with 1 additions and 1 deletions
  1. 1 1
      formats/AtomFormat.php

+ 1 - 1
formats/AtomFormat.php

@@ -37,7 +37,7 @@ class AtomFormat extends FormatAbstract{
             $entryContent = is_null($data->content) ? '' : '<![CDATA[' . $this->sanitizeHtml(str_replace(']]>','',$data->content)) . ']]>';
 
 			// We generate a list of the enclosure links
-			$entryEnclosure = "";
+			$entryEnclosures = "";
             
 			foreach($data->enclosures as $enclosure) {