| 1 |
<?php |
<?php |
| 2 |
/* $Id: leech.module,v 1.4.2.37 2007/09/11 18:46:02 aronnovak Exp $ */ |
/* $Id: leech.module,v 1.4.2.38 2007/09/24 12:48:09 alexb Exp $ */ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 2298 |
} |
} |
| 2299 |
$edit->date = format_date($item->date, 'custom', 'Y-m-d H:i O'); |
$edit->date = format_date($item->date, 'custom', 'Y-m-d H:i O'); |
| 2300 |
$edit->created = strtotime($edit->date); |
$edit->created = strtotime($edit->date); |
| 2301 |
|
if (isset($node->leech_news->author)) { |
| 2302 |
|
$author = user_load(array("name" => $node->leech_news->author)); |
| 2303 |
|
$edit->uid = $author->uid; |
| 2304 |
|
$edit->name = $author->name; |
| 2305 |
|
} |
| 2306 |
$edit->leech_news_item->guid = ($item->guid ? $item->guid : ''); |
$edit->leech_news_item->guid = ($item->guid ? $item->guid : ''); |
| 2307 |
} |
} |
| 2308 |
|
|