From 5e48322d05ec2dfa970b69fef49167f8e18b8077 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Wed, 20 Apr 2022 17:06:04 +0200 Subject: backwards compatibility --- it.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/it.class b/it.class index 022db61..e968575 100644 --- a/it.class +++ b/it.class @@ -180,7 +180,7 @@ static function error($p = array(), $extra = null) else $url = $_SERVER['SCRIPT_NAME'] . " " . implode(" ", array_slice($GLOBALS['argv'], 1)) . " (pwd " . $_SERVER['PWD'] . ")"; - $authors = it::replace('\*' => "", join(", ", it::grep('\*', (array)@it::cat($GLOBALS['ULTRAHOME'] . "/.diffnotice")->lines, ['invert' => true]))); + $authors = it::replace(['\*' => ""], join(", ", it::grep('\*', (array)@it::cat($GLOBALS['ULTRAHOME'] . "/.diffnotice")->lines, ['invert' => true]))); if (!$p['to']) unset($p['to']); # allow defaults to kick in $p += array( -- cgit v1.2.3