diff --git a/library/Businessprocess/BpConfig.php b/library/Businessprocess/BpConfig.php index 2121b40..c49d262 100644 --- a/library/Businessprocess/BpConfig.php +++ b/library/Businessprocess/BpConfig.php @@ -915,7 +915,9 @@ class BpConfig { $args = func_get_args(); array_shift($args); - $msg = vsprintf($msg, $args); + if (! empty($args)) { + $msg = vsprintf($msg, $args); + } if ($this->throwErrors) { throw new IcingaException($msg); }