Changeset 6130

Show
Ignore:
Timestamp:
06/01/08 09:14:22 (6 months ago)
Author:
coolengineer
Message:
  • #960
  • 잘못된 로그 메시지 수정
  • 첨부 없이도 올릴 수 있도록 수정
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/plugins/CL_Moblog/index.php

    r6122 r6130  
    110110            return true; 
    111111        } 
    112         $this->log( "Msg $number: "._t("메일크기가 작음")." : $size" ); 
    113         return $size < $this->minsize; 
     112        $ret = $size < $this->minsize; 
     113        if( $ret ) { 
     114            $this->log( "Msg $number: "._t("메일크기가 작음")." : $size" ); 
     115        } 
     116        return $ret; 
    114117    } 
    115118 
     
    128131 
    129132        if( !empty($mail['mms']) ) { 
    130             $this->logMail( $mail, "SKIP, Not an MMS" ); 
    131133            return true; 
    132134        } 
     
    183185            return false; 
    184186        } 
    185         if( empty($mail['attachments']) ) { 
     187        if( false && empty($mail['attachments']) ) { 
    186188            $this->logMail( $mail, "SKIP" ); 
    187189            return false; 
     
    226228        //unset($post->slogan); 
    227229 
    228         if( count($mail['attachments']) ) { 
     230        if( isset( $mail['attachments'] ) && count($mail['attachments']) ) { 
    229231            requireModel( "blog.api" ); 
    230232            foreach( $mail['attachments'] as $mail_att ) {