Fix `sprintf` parameter types
authorjoshuaruesweg <ruesweg@woltlab.com>
Mon, 20 Sep 2021 09:55:10 +0000 (11:55 +0200)
committerjoshuaruesweg <ruesweg@woltlab.com>
Mon, 20 Sep 2021 09:55:38 +0000 (11:55 +0200)
wcfsetup/install/files/lib/acp/form/BoxAddForm.class.php

index 667f3590b583792ef87e09ad7380f68da78b57cc..d343f7d562f086bffb652fcedde7dba24af05f37 100644 (file)
@@ -424,7 +424,7 @@ class BoxAddForm extends AbstractForm
         if ($this->pageIDs === null || $this->visibleEverywhere === null) {
             throw new \LogicException(
                 \sprintf(
-                    "The '%d' condition for the definition '%d' is missing.",
+                    "The '%s' condition for the definition '%s' is missing.",
                     'com.woltlab.wcf.page',
                     Box::VISIBILITY_CONDITIONS_OBJECT_TYPE_NAME
                 )