Corrected formatting.

This commit is contained in:
David Bell
2016-04-19 11:45:03 +01:00
parent a988e83df7
commit f9fda59abd
+2 -1
View File
@@ -1267,7 +1267,8 @@ function force_influx_data($data) {
if (ctype_digit($data)) {
return floatval($data);
// Else it is a float
} else {
}
else {
return floatval($data);
}
} else {