From b70c14f80103015ee8f71c4fbec498f4eee993a6 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Wed, 14 Aug 2024 15:40:56 +0200 Subject: fix syntax --- it.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'it.class') 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(); } -- cgit v1.2.3