summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2022-04-20 16:07:24 +0200
committerUrban Müller2022-04-20 16:07:24 +0200
commite0c40bb9b479b107a4b78f4b2073b132865d655f (patch)
tree7c1129f329d2be414d33883a7b024cda6625c6a9
parentc61c2e098467dc470b41ba8e8732d939b68f9037 (diff)
downloaditools-e0c40bb9b479b107a4b78f4b2073b132865d655f.tar.gz
itools-e0c40bb9b479b107a4b78f4b2073b132865d655f.tar.bz2
itools-e0c40bb9b479b107a4b78f4b2073b132865d655f.zip
respect no spam stars in .diffnotice
-rw-r--r--it.class2
1 files changed, 1 insertions, 1 deletions
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(