1
0
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:
Uncled1023 2017-02-17 09:30:21 -08:00
parent 46b4fc9c9e
commit 96afa700cc

View File

@ -120,7 +120,7 @@ namespace Teknik.Areas.Transparency.Controllers
public ActionResult GetVisitorData()
{
// 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);