Révision a192dc0b
Ajouté par Assos Assos il y a environ 8 ans
drupal7/sites/all/modules/feeds/libraries/common_syndication_parser.inc | ||
---|---|---|
165 | 165 |
} |
166 | 166 |
} |
167 | 167 |
|
168 |
$author_found = FALSE;
|
|
168 |
$original_author = '';
|
|
169 | 169 |
if (!empty($news->source->author->name)) { |
170 | 170 |
$original_author = "{$news->source->author->name}"; |
171 |
$author_found = TRUE; |
|
172 | 171 |
} |
173 | 172 |
elseif (!empty($news->author->name)) { |
174 | 173 |
$original_author = "{$news->author->name}"; |
175 |
$author_found = TRUE; |
|
176 | 174 |
} |
177 |
if (!empty($feed_XML->author->name) && !$author_found) {
|
|
175 |
elseif (!empty($feed_XML->author->name)) {
|
|
178 | 176 |
$original_author = "{$feed_XML->author->name}"; |
179 | 177 |
} |
180 | 178 |
|
Formats disponibles : Unified diff
Weekly update of contrib modules