comparison 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
comparison
equal deleted inserted replaced
5:5df98f90134d 6:2ef0d9a3eeba
133 $scald_included = scald_included($item['value']); 133 $scald_included = scald_included($item['value']);
134 134
135 // @@@TODO: Handle failure of fetch 135 // @@@TODO: Handle failure of fetch
136 $atom = scald_fetch(scald_search(array('base_id' => $node->nid . ':' . $delta), FALSE, TRUE)); 136 $atom = scald_fetch(scald_search(array('base_id' => $node->nid . ':' . $delta), FALSE, TRUE));
137 $atom->publisher = $node->uid; 137 $atom->publisher = $node->uid;
138 $temp_atom->title = $node->title . ' - ' . $field['widget']['label'] . ' (#' . $delta . ')'; 138 $atom->title = $node->title;
139 $atom->authors = array(scald_uid_to_aid($node->uid)); // @@@TODO: This will completely override any authors listed & replace only with the Publisher. 139 $atom->authors = array(scald_uid_to_aid($node->uid)); // @@@TODO: This will completely override any authors listed & replace only with the Publisher.
140 $temp_atom->relationships = empty($scald_included) ? array() : array('includes' => $scald_included); 140 $atom->relationships = empty($scald_included) ? array() : array('includes' => $scald_included);
141 141
142 scald_update_atom($atom); 142 scald_update_atom($atom);
143 } 143 }
144 break; // end 'update' 144 break; // end 'update'
145 145