diff --git a/TeslaLogger/www/admin/index.php b/TeslaLogger/www/admin/index.php
index 485c67beb..ab017446e 100644
--- a/TeslaLogger/www/admin/index.php
+++ b/TeslaLogger/www/admin/index.php
@@ -165,7 +165,7 @@ function GetCurrentData()
var datetime = at.toLocaleTimeString(loc, { hour: '2-digit', minute: '2-digit' });
$('#car_statusLabel').text(":");
- if(jsonData["charger_phases_calc" > 0])
+ if(jsonData["charger_phases_calc"] > 0)
{
$('#car_status').html(jsonData["charger_power_calc_w"] + " W / +" + jsonData["charge_energy_added"] + " kWh
" +
jsonData["charger_voltage"]+"V / " + jsonData["charger_actual_current_calc"]+"A / "+ jsonData["charger_phases_calc"]+"P
" +