Changeset 5969

Show
Ignore:
Timestamp:
05/18/08 16:26:58 (6 months ago)
Author:
coolengineer
Message:
  • #960
  • 경고 제거 및 제목없을때 넣어주는 제목을 날짜로 다시 고침.
Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/components/Needlworks.Mail.Pop3.php

    r5965 r5969  
    373373            } 
    374374            $mail['length'] = strlen($mail['decoded_content']); 
    375             if( substr($mail['content_type'],0,4) == 'text' ) { 
     375            if( isset($mail['content_type']) && substr($mail['content_type'],0,4) == 'text' ) { 
    376376                $mail['text_type'] = $mail['content_type']; 
    377377                $mail['text'] = $mail['decoded_content']; 
  • trunk/plugins/CL_Moblog/index.php

    r5968 r5969  
    146146        $mail = $this->pop3->parse( $lines ); 
    147147        if( in_array( $mail['subject'], array( '제목없음' ) ) ) { 
    148             $mail['subject'] = $docid; 
     148            $mail['subject'] = $slogan; 
    149149        } 
    150150        if( !$this->isMms($mail) ) { 
     
    166166            $post->title = $mail['subject']; 
    167167            $post->userid = $this->userid; 
    168             $post->content = $this->_getDecoratedContent( $mail ); 
     168            $post->content = $this->_getDecoratedContent( $mail, $docid ); 
    169169            $post->contentFormatter = getDefaultFormatter(); 
    170170            $post->contentEditor = getDefaultEditor();