From 1d7d4e19027b43838cbcd0dfc4e4fad4eeb49803 Mon Sep 17 00:00:00 2001 From: Flatlogic Bot Date: Wed, 8 Apr 2026 02:38:27 +0000 Subject: [PATCH] V0.8.6 --- scitems.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scitems.php b/scitems.php index 977498f..6434b68 100644 --- a/scitems.php +++ b/scitems.php @@ -64,9 +64,9 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') { $uuid = $item['reference'] ?? ($item['stdItem']['UUID'] ?? ''); if (!$uuid) continue; - $name = $item['stdItem']['Name'] ?? ''; - $type = $item['type'] ?? ''; - $subtype = $item['subType'] ?? ''; + $name = $item['Name'] ?? ($item['stdItem']['Name'] ?? ''); + $classification = $item['classification'] ?? ''; $parts = explode('.', $classification); $type = $parts[1] ?? ($item['type'] ?? ''); + $subtype = $parts[2] ?? ($item['subType'] ?? ''); $stmt_check->execute(['uuid' => $uuid]); if ($stmt_check->fetch()) {