Skip to content

armgit / Vvveb

Public Imported from GitHub
0

Powerful and easy to use cms to build websites, blogs or ecommerce stores.

start_date key fix

givanz36e623c48c4e
diff --git a/admin/component/stats.php b/admin/component/stats.php
index 5e02e2f..6ed7ecc 100755
--- a/admin/component/stats.php
+++ b/admin/component/stats.php
@@ -48,7 +48,7 @@ class Stats extends ComponentBase {
}
if ($this->options['start_date'] == 'NOW()') {
- $this->options['end_date'] = date('Y-m-d');
+ $this->options['start_date'] = date('Y-m-d');
}
$results = $stats->getStats($this->options);