Skip to content

Firefly III: a personal finances manager

No need to unset non-existing variable #1059

James Cole840705f793f8
diff --git a/app/Import/Converter/Amount.php b/app/Import/Converter/Amount.php
index a0040e4c3b..4421a23ec1 100644
--- a/app/Import/Converter/Amount.php
+++ b/app/Import/Converter/Amount.php
@@ -75,7 +75,7 @@ class Amount implements ConverterInterface
Log::debug(sprintf('Searched from the left for "." in amount "%s", assume this is the decimal sign.', $value));
$decimal = '.';
}
- unset($options, $res, $candidate);
+ unset($options, $res);
}
// if decimal is dot, replace all comma's and spaces with nothing. then parse as float (round to 4 pos)