diff mee.module @ 6:2ef0d9a3eeba

Syntax error fix
author Franck Deroche <franck@defr.org>
date Tue, 28 Apr 2009 10:19:16 +0200
parents 5df98f90134d
children c3b22723b82f
line wrap: on
line diff
--- a/mee.module	Thu Apr 30 15:13:58 2009 -0400
+++ b/mee.module	Tue Apr 28 10:19:16 2009 +0200
@@ -135,9 +135,9 @@
         // @@@TODO: Handle failure of fetch
         $atom = scald_fetch(scald_search(array('base_id' => $node->nid . ':' . $delta), FALSE, TRUE));
         $atom->publisher  = $node->uid;
-        $temp_atom->title         = $node->title . ' - ' . $field['widget']['label'] . ' (#' . $delta . ')';
+        $atom->title      = $node->title;
         $atom->authors    = array(scald_uid_to_aid($node->uid));  // @@@TODO: This will completely override any authors listed & replace only with the Publisher.
-        $temp_atom->relationships = empty($scald_included) ? array() : array('includes' => $scald_included);
+        $atom->relationships = empty($scald_included) ? array() : array('includes' => $scald_included);
 
         scald_update_atom($atom);
       }