Index: trunk/extensions/FlaggedRevs/FlaggedRevs.class.php |
— | — | @@ -1458,8 +1458,8 @@ |
1459 | 1459 | 'fi_rev_id' => $rev->getId(), |
1460 | 1460 | 'fi_name' => $dbkey, |
1461 | 1461 | 'fi_img_sha1' => $sha1, |
1462 | | - // b/c: NULL becomes '' for old fi_img_timestamp def (non-strict) |
1463 | | - 'fi_img_timestamp' => $time ? $dbw->timestamp( $time ) : null |
| 1462 | + // b/c: fi_img_timestamp DEFAULT either NULL (new) or '' (old) |
| 1463 | + 'fi_img_timestamp' => $time ? $dbw->timestamp( $time ) : 'DEFAULT' |
1464 | 1464 | ); |
1465 | 1465 | $imgset[] = $fileIncludeData; |
1466 | 1466 | } |
Index: trunk/extensions/FlaggedRevs/forms/RevisionReviewForm.php |
— | — | @@ -382,8 +382,8 @@ |
383 | 383 | 'fi_rev_id' => $rev->getId(), |
384 | 384 | 'fi_name' => $img_title->getDBkey(), |
385 | 385 | 'fi_img_sha1' => $key, |
386 | | - // b/c: NULL becomes '' for old fi_img_timestamp def (non-strict) |
387 | | - 'fi_img_timestamp' => $timestamp ? $dbw->timestamp( $timestamp ) : null |
| 386 | + // b/c: fi_img_timestamp DEFAULT either NULL (new) or '' (old) |
| 387 | + 'fi_img_timestamp' => $timestamp ? $dbw->timestamp( $timestamp ) : 'DEFAULT' |
388 | 388 | ); |
389 | 389 | if ( !isset( $imgParams[$img_title->getDBkey()] ) ) { |
390 | 390 | $imgParams[$img_title->getDBkey()] = array(); |