From 4ce7034ed12a4196de8fbd8e1599975af94e16ea Mon Sep 17 00:00:00 2001 From: joshuaruesweg Date: Mon, 20 Sep 2021 11:55:10 +0200 Subject: [PATCH] Fix `sprintf` parameter types --- wcfsetup/install/files/lib/acp/form/BoxAddForm.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) -- 2.20.1