Browse Source

Fixed check for empty API url not checking the right variable

tags/2.0.6
Teknikode 3 years ago
parent
commit
96afa700cc
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Teknik/Areas/Transparency/Controllers/TransparencyController.cs

+ 1
- 1
Teknik/Areas/Transparency/Controllers/TransparencyController.cs 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);


Loading…
Cancel
Save