Changeset 17951
- Timestamp:
- 10/06/08 10:51:18 (2 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/MidCOM_2_8/net.nemein.discussion/helper_email_import.php
r17264 r17951 504 504 foreach ($results as $result) 505 505 { 506 try 507 { 508 $post = new net_nemein_discussion_post($result->parentguid); 509 if ($post->guid) 510 { 511 return $post; 512 } 513 } 514 catch (midgard_error_exception $e) 506 $post = new net_nemein_discussion_post($result->parentguid); 507 if ( !is_object($post) 508 || !isset($post->guid) 509 || empty($post->guid)) 515 510 { 516 511 continue; 517 512 } 513 return $post; 518 514 } 519 515
