]> git.mxchange.org Git - friendica.git/blobdiff - src/Util/Strings.php
fix a warning and suggestions for pullrequest
[friendica.git] / src / Util / Strings.php
index 5df3c01b1e8d7f9fbc62d9670949c2597c2db18c..2405fbababcfdbcd8d6788f4ed28040c6b954c4f 100644 (file)
@@ -511,7 +511,7 @@ class Strings
                );
 
                if (is_null($return)) {
-                       Logger::warning('Received null value from preg_replace_callback', ['text' => $text, 'regex' => $regex, 'blocks' => $blocks, 'executionId' => $executionId, 'callstack' => System::callstack(10)]);
+                       Logger::notice('Received null value from preg_replace_callback', ['text' => $text, 'regex' => $regex, 'blocks' => $blocks, 'executionId' => $executionId, 'callstack' => System::callstack(10)]);
                }
 
                $text = $callback($return ?? $text) ?? '';