From e0c40bb9b479b107a4b78f4b2073b132865d655f Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Wed, 20 Apr 2022 16:07:24 +0200 Subject: respect no spam stars in .diffnotice --- it.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'it.class') diff --git a/it.class b/it.class index 4a53fa7..161893a 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 = 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