From: joshuaruesweg Date: Mon, 20 Sep 2021 09:55:10 +0000 (+0200) Subject: Fix `sprintf` parameter types X-Git-Tag: 5.5.0_Alpha_1~446 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4ce7034ed12a4196de8fbd8e1599975af94e16ea;p=GitHub%2FWoltLab%2FWCF.git Fix `sprintf` parameter types --- diff --git a/wcfsetup/install/files/lib/acp/form/BoxAddForm.class.php b/wcfsetup/install/files/lib/acp/form/BoxAddForm.class.php index 667f3590b5..d343f7d562 100644 --- a/wcfsetup/install/files/lib/acp/form/BoxAddForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/BoxAddForm.class.php @@ -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 )