Index: trunk/extensions/CodeReview/CodeComment.php |
— | — | @@ -12,7 +12,7 @@ |
13 | 13 | |
14 | 14 | static function newFromData( $rev, $data ) { |
15 | 15 | $comment = new CodeComment( $rev ); |
16 | | - $comment->id = $data['cc_id']; |
| 16 | + $comment->id = intval($data['cc_id']); |
17 | 17 | $comment->text = $data['cc_text']; // fixme |
18 | 18 | $comment->user = $data['cc_user']; |
19 | 19 | $comment->userText = $data['cc_user_text']; |