Changeset 5779

Show
Ignore:
Timestamp:
04/20/08 23:42:49 (9 months ago)
Author:
inureyes
Message:

#852

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/1.6/interface/owner/data/import/index.php

    r5637 r5779  
    733733            $comment = new GuestComment(); 
    734734            $comment->name = $node['commenter'][0]['name'][0]['.value']; 
     735            if (!empty($node['commenter'][0]['id'][0]['.value'])) 
     736                $comment->id = $node['commenter'][0]['id'][0]['.value']; 
    735737            if (!empty($node['commenter'][0]['homepage'][0]['.value'])) 
    736738                $comment->homepage = $node['commenter'][0]['homepage'][0]['.value']; 
     
    751753                    $cursor = & $node['comment'][$j]; 
    752754                    $childComment->name = $cursor['commenter'][0]['name'][0]['.value']; 
     755                    if (!empty($cursor['commenter'][0]['id'][0]['.value'])) 
     756                        $childComment->id = $cursor['commenter'][0]['id'][0]['.value']; 
    753757                    if (!empty($cursor['commenter'][0]['homepage'][0]['.value'])) 
    754758                        $childComment->homepage = $cursor['commenter'][0]['homepage'][0]['.value'];