Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
fix phpstan
Sander Dorigoe85682c9c6a5
diff --git a/app/Helpers/Functions/helpers.php b/app/Helpers/Functions/helpers.phpindex b93e656acc..635053cb88 100644--- a/app/Helpers/Functions/helpers.php+++ b/app/Helpers/Functions/helpers.php@@ -54,7 +54,7 @@ if(!function_exists('escape_for_js')) {// escape all non-alphanumeric characters// into their \x or \uHHHH representations- if (false === preg_match('//u', $string)) {+ if (0 === preg_match('//u', $string)) {throw new FireflyException('The string to escape is not a valid UTF-8 string.');}