diff options
author | Urban Müller | 2022-04-20 16:07:24 +0200 |
---|---|---|
committer | Urban Müller | 2022-04-20 16:07:24 +0200 |
commit | e0c40bb9b479b107a4b78f4b2073b132865d655f (patch) | |
tree | 7c1129f329d2be414d33883a7b024cda6625c6a9 /it.class | |
parent | c61c2e098467dc470b41ba8e8732d939b68f9037 (diff) | |
download | itools-e0c40bb9b479b107a4b78f4b2073b132865d655f.tar.gz itools-e0c40bb9b479b107a4b78f4b2073b132865d655f.tar.bz2 itools-e0c40bb9b479b107a4b78f4b2073b132865d655f.zip |
respect no spam stars in .diffnotice
Diffstat (limited to 'it.class')
-rw-r--r-- | it.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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( |