r41620 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r41619‎ | r41620 | r41621 >
Date:22:07, 3 October 2008
Author:aaron
Status:old (Comments)
Tags:
Comment:
Make sure this is an integer
Modified paths:
  • /trunk/extensions/CodeReview/CodeComment.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CodeReview/CodeComment.php
@@ -12,7 +12,7 @@
1313
1414 static function newFromData( $rev, $data ) {
1515 $comment = new CodeComment( $rev );
16 - $comment->id = $data['cc_id'];
 16+ $comment->id = intval($data['cc_id']);
1717 $comment->text = $data['cc_text']; // fixme
1818 $comment->user = $data['cc_user'];
1919 $comment->userText = $data['cc_user_text'];

Comments

#Comment by Krinkle (talk | contribs)   05:04, 26 June 2011

removing/adding keyword "sanity". Somehow dissapeared from the logs.

Status & tagging log