Skip to content

Commit

Permalink
Merge pull request #4463 from jhumphries/patch-1
Browse files Browse the repository at this point in the history
Update items.queries.php
  • Loading branch information
nilsteampassnet authored Nov 15, 2024
2 parents c9e9907 + 09c7cf5 commit 6c3c350
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/items.queries.php
Original file line number Diff line number Diff line change
Expand Up @@ -3170,7 +3170,7 @@
'SELECT i.*, n.title AS folder_title, o.enabled AS otp_for_item_enabled, o.phone_number AS otp_phone_number, o.secret AS otp_secret
FROM ' . prefixTable('items') . ' AS i
INNER JOIN ' . prefixTable('nested_tree') . ' AS n ON (i.id_tree = n.id)
INNER JOIN ' . prefixTable('items_otp') . ' AS o ON (o.item_id = i.id)
LEFT JOIN ' . prefixTable('items_otp') . ' AS o ON (o.item_id = i.id)
WHERE i.id = %i',
$inputData['id']
);
Expand Down

0 comments on commit 6c3c350

Please sign in to comment.