Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Giehl <stefan@matomo.org>2019-06-10 12:50:29 +0300
committerMatthieu Aubry <mattab@users.noreply.github.com>2019-06-10 12:50:29 +0300
commit7b6ba57d584dd985a661a47924a22ae29b092422 (patch)
tree8dbb9f2c04a7e67f0cf2331db42e460044983875 /plugins/CoreConsole
parent31bcfbe6a1028cc3ca2ce972d1488667b165d0c4 (diff)
Fix incorrect param count for sprintf (#14506)
Diffstat (limited to 'plugins/CoreConsole')
-rw-r--r--plugins/CoreConsole/Commands/GenerateReport.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CoreConsole/Commands/GenerateReport.php b/plugins/CoreConsole/Commands/GenerateReport.php
index b30ec7d61e..af8111bc1c 100644
--- a/plugins/CoreConsole/Commands/GenerateReport.php
+++ b/plugins/CoreConsole/Commands/GenerateReport.php
@@ -69,7 +69,7 @@ class GenerateReport extends GeneratePluginBase
$this->copyTemplateToPlugin($exampleFolder, $pluginName, $replace, $whitelistFiles);
$this->writeSuccessMessage($output, array(
- sprintf('plugins/%s/Reports/%s.php for %s generated.', $pluginName, ucfirst($apiName)),
+ sprintf('plugins/%s/Reports/%s.php for %s generated.', $pluginName, ucfirst($apiName), $pluginName),
'You should now implement the method called <comment>"' . lcfirst($apiName) . '()"</comment> in API.php',
// 'Read more about this here: link to developer guide',
'Enjoy!'