diff options
Diffstat (limited to 'plugins/Feedback')
-rw-r--r-- | plugins/Feedback/Feedback.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/Feedback/Feedback.php b/plugins/Feedback/Feedback.php index 7b897ea309..fd796ab5df 100644 --- a/plugins/Feedback/Feedback.php +++ b/plugins/Feedback/Feedback.php @@ -99,6 +99,9 @@ class Feedback extends \Piwik\Plugin if ($nextReminderDate === false) { $model = new Model(); $user = $model->getUser($login); + if (empty($user['date_registered'])) { + return false; + } $nextReminderDate = Date::factory($user['date_registered'])->addDay(90)->getStartOfDay(); } else { $nextReminderDate = Date::factory($nextReminderDate); |