summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2024-08-14 15:40:56 +0200
committerUrban Müller2024-08-14 15:40:56 +0200
commitb70c14f80103015ee8f71c4fbec498f4eee993a6 (patch)
tree5558a1508436fb58dbf0f54bc15e296cfe74e36d
parent3dc3524e2d24b71d84d6c15991c19101cc82ff10 (diff)
downloaditools-b70c14f80103015ee8f71c4fbec498f4eee993a6.tar.gz
itools-b70c14f80103015ee8f71c4fbec498f4eee993a6.tar.bz2
itools-b70c14f80103015ee8f71c4fbec498f4eee993a6.zip
fix syntax
-rw-r--r--it.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it.class b/it.class
index 537984d..74367d2 100644
--- a/it.class
+++ b/it.class
@@ -1414,7 +1414,7 @@ static function simplexml_load_string($data, $class_name = null, $options = 0)
if (($result = simplexml_load_string($data, $class_name, $options)) === false)
{
$titles = it::map('trim($v->message) . " at line $v->line col $v->column"', libxml_get_errors());
- it::error('title' => $titles[0], ['body' => join("\n", $titles) . "\n\n$data"]);
+ it::error(['title' => $titles[0], 'body' => join("\n", $titles) . "\n\n$data"]);
libxml_clear_errors();
}