diff options
author | dizzy <diosmosis@users.noreply.github.com> | 2021-07-20 23:45:47 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-20 23:45:47 +0300 |
commit | 3f8f35aea02a0f73991c0fef6fbfb9c1d0769f6a (patch) | |
tree | 5c8da511732b9908fe7d1aa95d07afcc2eb04fc1 | |
parent | 9e13a1edcecc08f52cbf1ce978bfdf30cec6238a (diff) |
Update functions.php17796-debugging
-rw-r--r-- | plugins/VisitTime/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/VisitTime/functions.php b/plugins/VisitTime/functions.php index 8af63dbd90..7686d83aee 100644 --- a/plugins/VisitTime/functions.php +++ b/plugins/VisitTime/functions.php @@ -16,7 +16,7 @@ use Piwik\Piwik; function getTimeLabel($label) { if (empty(mktime($label))) { - throw new \Exception("unable to parse date label: $label"); + return $label; } $date = Date::factory(mktime($label)); |