/[drupal]/contributions/modules/leech/leech.module
ViewVC logotype

Diff of /contributions/modules/leech/leech.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.4.2.38, Mon Sep 24 12:48:09 2007 UTC revision 1.4.2.39, Wed Jan 2 20:07:28 2008 UTC
# Line 1  Line 1 
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
# Line 2298  function _leech_news_save_items(&$node) Line 2298  function _leech_news_save_items(&$node)
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    

Legend:
Removed from v.1.4.2.38  
changed lines
  Added in v.1.4.2.39

  ViewVC Help
Powered by ViewVC 1.1.2