Index: trunk/phase3/includes/User.php |
— | — | @@ -1551,6 +1551,8 @@ |
1552 | 1552 | # Just update the timestamp |
1553 | 1553 | $ipblock->updateTimestamp(); |
1554 | 1554 | return; |
| 1555 | + } else { |
| 1556 | + $ipblock = new Block; |
1555 | 1557 | } |
1556 | 1558 | |
1557 | 1559 | # Make a new block object with the desired properties |