Index: trunk/phase3/includes/LogPage.php |
— | — | @@ -60,12 +60,13 @@ |
61 | 61 | $won = wfInvertTimestamp( $now ); |
62 | 62 | if($this->mId == 0) { |
63 | 63 | $sql = "INSERT INTO cur (cur_timestamp,cur_user,cur_user_text, |
64 | | - cur_namespace,cur_title,cur_text,cur_comment,cur_restrictions,inverse_timestamp) |
| 64 | + cur_namespace,cur_title,cur_text,cur_comment,cur_restrictions, |
| 65 | + inverse_timestamp,cur_touched) |
65 | 66 | VALUES ('{$now}', {$uid}, '{$ut}', " . |
66 | 67 | Namespace::getWikipedia() . ", '" . |
67 | 68 | wfStrencode( $this->mTitle ) . "', '" . |
68 | 69 | wfStrencode( $this->mContent ) . "', '" . |
69 | | - wfStrencode( $this->mComment ) . "', 'sysop', '{$won}')"; |
| 70 | + wfStrencode( $this->mComment ) . "', 'sysop', '{$won}','{$now}')"; |
70 | 71 | wfQuery( $sql, $fname ); |
71 | 72 | $this->mId = wfInsertId(); |
72 | 73 | } else { |
— | — | @@ -73,7 +74,7 @@ |
74 | 75 | "cur_user={$uid}, cur_user_text='{$ut}', " . |
75 | 76 | "cur_text='" . wfStrencode( $this->mContent ) . "', " . |
76 | 77 | "cur_comment='" . wfStrencode( $this->mComment ) . "', " . |
77 | | - "cur_restrictions='sysop', inverse_timestamp='{$won}' " . |
| 78 | + "cur_restrictions='sysop', inverse_timestamp='{$won}', cur_touched='{$now}' " . |
78 | 79 | "WHERE cur_id={$this->mId}"; |
79 | 80 | wfQuery( $sql, $fname ); |
80 | 81 | } |