From 62dd5c275da1ad6722d7d94dc1b4bddb1158a787 Mon Sep 17 00:00:00 2001 From: Damodar Lohani Date: Tue, 27 Dec 2022 06:16:19 +0000 Subject: [PATCH] fix explode --- app/init.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/init.php b/app/init.php index f0d5a075ae..4901e350d0 100644 --- a/app/init.php +++ b/app/init.php @@ -607,7 +607,7 @@ $register->set('geodb', function () { }); $register->set('passwordsDictionary', function () { $content = \file_get_contents(__DIR__ . '/assets/security/10k-common-passwords'); - $content = explode('\n', $content); + $content = explode("\n", $content); $content = array_flip($content); return $content; });