Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordizzy <diosmosis@users.noreply.github.com>2021-07-20 23:45:47 +0300
committerGitHub <noreply@github.com>2021-07-20 23:45:47 +0300
commit3f8f35aea02a0f73991c0fef6fbfb9c1d0769f6a (patch)
tree5c8da511732b9908fe7d1aa95d07afcc2eb04fc1
parent9e13a1edcecc08f52cbf1ce978bfdf30cec6238a (diff)
Update functions.php17796-debugging
-rw-r--r--plugins/VisitTime/functions.php2
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));