Index: trunk/phase3/includes/specials/SpecialBlockip.php |
— | — | @@ -519,7 +519,7 @@ |
520 | 520 | array('ar_user_text' => $userId), __METHOD__ ); |
521 | 521 | # Hide name from logs |
522 | 522 | $dbw->update( 'logging', array("log_deleted = log_deleted $op $delUser"), |
523 | | - array('log_user' => $userId), __METHOD__ ); |
| 523 | + array('log_user' => $userId, "log_type != 'suppress'"), __METHOD__ ); |
524 | 524 | $dbw->update( 'logging', array("log_deleted = log_deleted $op $delAction"), |
525 | 525 | array('log_namespace' => NS_USER, 'log_title' => $userDbKey, |
526 | 526 | "log_type != 'suppress'"), __METHOD__ ); |