From: Alexander Ebert Date: Fri, 13 Oct 2023 13:40:33 +0000 (+0200) Subject: Use the proper format for the instance number X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=refs%2Fheads%2Flabel-picker;p=GitHub%2FWoltLab%2FWCF.git Use the proper format for the instance number --- diff --git a/wcfsetup/install/files/lib/system/label/LabelPickerGroup.class.php b/wcfsetup/install/files/lib/system/label/LabelPickerGroup.class.php index 8851232d10..01324b7b74 100644 --- a/wcfsetup/install/files/lib/system/label/LabelPickerGroup.class.php +++ b/wcfsetup/install/files/lib/system/label/LabelPickerGroup.class.php @@ -146,7 +146,7 @@ final class LabelPickerGroup implements \Countable, \IteratorAggregate <<<'EOT' %s NOT IN ( SELECT objectID - FROM wcf%s_label_object + FROM wcf%d_label_object WHERE objectTypeID = ? AND labelID IN (?) ) @@ -165,7 +165,7 @@ final class LabelPickerGroup implements \Countable, \IteratorAggregate <<<'EOT' %s IN ( SELECT objectID - FROM wcf%s_label_object + FROM wcf%d_label_object WHERE objectTypeID = ? AND labelID = ? )