summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2022-04-20 17:06:04 +0200
committerUrban Müller2022-04-20 17:06:04 +0200
commit5e48322d05ec2dfa970b69fef49167f8e18b8077 (patch)
tree05188b7c2f8807574100d2fc1e16dcbcea687da6
parent4ee2d3db26d1e84988a86ba72d7377130ed0efbe (diff)
downloaditools-5e48322d05ec2dfa970b69fef49167f8e18b8077.tar.gz
itools-5e48322d05ec2dfa970b69fef49167f8e18b8077.tar.bz2
itools-5e48322d05ec2dfa970b69fef49167f8e18b8077.zip
backwards compatibility
-rw-r--r--it.class2
1 files changed, 1 insertions, 1 deletions
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(