Fix 1355256 issue

Do use Early return pattern
http://pear.php.net/manual/en/standards.bestpractices.php
Let's return early
```php
if (empty($instance['widget']['module']) && $instance['widget']['module'] != 'date') {
  return;
}
// rest of the code
```
@Dorpmaster