Show
Ignore:
Timestamp:
06/09/08 01:01:09 (6 months ago)
Author:
inureyes
Message:

#852

  • entryTitle이 없는 경우 에러를 밷게 되어 있는데, 방명록은 그게 없다. 그래서 복원이 안되는 것이었음.
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/components/Textcube.Data.CommentNotified.php

    r5775 r6218  
    9696        if (!isset($this->remoteId)) 
    9797            return $this->_error('remoteId'); 
    98         if (!isset($this->entryTitle)) 
    99             return $this->_error('entryTitle'); 
     98        if (!isset($this->entryTitle)) { 
     99            if($this->entry !== 0) return $this->_error('entryTitle'); 
     100            else $this->entryTitle = 'guestbook'; 
     101        } 
    100102        if (!isset($this->entryUrl)) 
    101103            return $this->_error('entryUrl');