mirror of
https://git.teknik.io/Teknikode/Teknik.git
synced 2023-08-02 14:16:22 +02:00
Fixed check for empty API url not checking the right variable
This commit is contained in:
parent
46b4fc9c9e
commit
96afa700cc
@ -120,7 +120,7 @@ namespace Teknik.Areas.Transparency.Controllers
|
|||||||
public ActionResult GetVisitorData()
|
public ActionResult GetVisitorData()
|
||||||
{
|
{
|
||||||
// Get the data from the Piwik
|
// Get the data from the Piwik
|
||||||
if (!string.IsNullOrEmpty(Config.PiwikConfig.Url))
|
if (!string.IsNullOrEmpty(Config.PiwikConfig.API))
|
||||||
{
|
{
|
||||||
List<VisitorData> dataList = Reporting.GetVisitSummaryByDays(Config, 31);
|
List<VisitorData> dataList = Reporting.GetVisitSummaryByDays(Config, 31);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user