From ab970d7f5f898d6c89d555331ecf1b4bdc51252c Mon Sep 17 00:00:00 2001 From: jekkos Date: Sat, 19 Nov 2022 00:41:09 +0100 Subject: [PATCH] Porting over ad7ae23 --- app/Controllers/Items.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Controllers/Items.php b/app/Controllers/Items.php index b3797ce16..ae45ec86a 100644 --- a/app/Controllers/Items.php +++ b/app/Controllers/Items.php @@ -614,7 +614,7 @@ class Items extends Secure_Controller $success = TRUE; $new_item = FALSE; - if($item_id == NEW_ITEM) + if($item_id === NEW_ITEM) { $item_id = $item_data['item_id']; $new_item = TRUE;