Changeset 134
- Timestamp:
- 12/23/07 17:53:44 (5 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trackback/files/lib/system/event/listener/ThreadAddFormTrackbackListener.class.php
r78 r134 46 46 */ 47 47 protected function readData () { 48 $this->hasTrackback = $this->eventObj->post->hasTrackback; 48 if(isset($this->eventObj->post)) { 49 $this->hasTrackback = $this->eventObj->post->hasTrackback; 50 } 49 51 } 50 52 … … 78 80 $postID = $this->eventObj->postID; 79 81 break; 82 case 'PostAddForm': 83 $postID = $this->eventObj->newPost->getID(); 84 break; 80 85 } 81 86
