changeset 1:e851124eabe3

DailyMotion: Fix typo introduced by refactoring just before the initial commit
author Franck Deroche <franck@defr.org>
date Fri, 16 Jul 2010 17:42:09 +0200
parents ad3d1dbbb66e
children c57b2ac8f84c
files scald_dailymotion.module
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scald_dailymotion.module	Fri Jul 16 17:24:41 2010 +0200
+++ b/scald_dailymotion.module	Fri Jul 16 17:42:09 2010 +0200
@@ -127,7 +127,7 @@
         $info->author = $item->getElementsByTagNameNS(NS_DM, 'author')->item(0)->nodeValue;
         // ... and the publication date
         $info->pubDate = date('c', strtotime($item->getElementsByTagName('pubDate')->item(0)->nodeValue));
-        $items[] = $infos;
+        $items[] = $info;
       }
     }
   }