From 2be29e6d489a261e000d817083e0f88f27c0e22e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Gaulin?= Date: Sat, 30 Jul 2016 10:14:21 +0200 Subject: [PATCH] Fix missing sprintf in exception message (wrong signature) --- modules/system/classes/PluginBase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/system/classes/PluginBase.php b/modules/system/classes/PluginBase.php index eeca39fdc..68342f056 100644 --- a/modules/system/classes/PluginBase.php +++ b/modules/system/classes/PluginBase.php @@ -49,7 +49,7 @@ class PluginBase extends ServiceProviderBase 'method in the plugin class.', $thisClass)); if (!array_key_exists('plugin', $configuration)) { - throw new SystemException('The plugin configuration file plugin.yaml should contain the "plugin" section: %s.', $thisClass); + throw new SystemException(sprintf('The plugin configuration file plugin.yaml should contain the "plugin" section: %s.', $thisClass)); } return $configuration['plugin'];