Index: branches/liquidthreads/extensions/LqtModel.php |
— | — | @@ -138,7 +138,8 @@ |
139 | 139 | 'hthread_revision'=>$tmt->revisionNumber(), |
140 | 140 | 'hthread_contents'=>$contents, |
141 | 141 | 'hthread_change_type'=>$tmt->changeType(), |
142 | | - 'hthread_change_object'=>$tmt->changeObject()->id()), __METHOD__ ); |
| 142 | + 'hthread_change_object'=>$tmt->changeObject() ? $tmt->changeObject()->id() : null), |
| 143 | + __METHOD__ ); |
143 | 144 | } |
144 | 145 | static function withIdAtRevision( $id, $rev ) { |
145 | 146 | $dbr =& wfGetDB( DB_SLAVE ); |