Use the proper format for the instance number label-picker
authorAlexander Ebert <ebert@woltlab.com>
Fri, 13 Oct 2023 13:40:33 +0000 (15:40 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Fri, 13 Oct 2023 13:40:33 +0000 (15:40 +0200)
wcfsetup/install/files/lib/system/label/LabelPickerGroup.class.php

index 8851232d10e4a090f8f5178c842f4566ed8b6a88..01324b7b743a17c555669f8d55ffad66716114c1 100644 (file)
@@ -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 = ?
                         )