From 0442962fd912df5c1addb43540db68f6a8b4ec26 Mon Sep 17 00:00:00 2001 From: Pv Ledoux Date: Wed, 28 Aug 2024 11:41:26 +0200 Subject: [PATCH] Fix Unclosed '{' on line 62 does not match ')' glpiphplog.CRITICAL: *** Uncaught Exception ParseError: Unclosed '{' on line 62 does not match ')' in /var/www/html/glpi/marketplace/geststock/inc/ticket.class.php at line 68 --- inc/ticket.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/ticket.class.php b/inc/ticket.class.php index 5dde9fa..074359f 100644 --- a/inc/ticket.class.php +++ b/inc/ticket.class.php @@ -65,7 +65,7 @@ static function beforeUpdate(Ticket $ticket) { $req = $DB->request("glpi_plugin_geststock_reservations_items", ['plugin_geststock_reservations_id' => $resa['id']]); - if ($req->count())) { + if ($req->count()) { foreach ($DB->request("glpi_plugin_geststock_reservations_items", ['plugin_geststock_reservations_id' => $resa['id']]) as $resait) { $resaitid = $resait['id'];