From 8d0a5f557c6a42eca9e7d2460e4a9cc2eef33e65 Mon Sep 17 00:00:00 2001 From: Omar G Date: Fri, 17 Nov 2023 02:24:40 +0000 Subject: [PATCH] str_replace() argument 2 only accepts array|string --- inc/plugins/dvz_hash/core.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/plugins/dvz_hash/core.php b/inc/plugins/dvz_hash/core.php index 4bc6381..01cd2f2 100644 --- a/inc/plugins/dvz_hash/core.php +++ b/inc/plugins/dvz_hash/core.php @@ -191,7 +191,7 @@ function ($filename) use ($algorithmsPath, $includeWrappable) { } ); - $algorithms = str_replace('.php', null, $filenames); + $algorithms = str_replace('.php', '', $filenames); } return $algorithms;