Browse Source

Merge pull request #4177 from dakota/patch-6

Add missing sprintf in shell.php
ADmad 11 years ago
parent
commit
1ef1bee374
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Console/Shell.php

+ 1 - 1
src/Console/Shell.php

@@ -215,7 +215,7 @@ class Shell {
  */
 	protected function _welcome() {
 		$this->out();
-		$this->out('<info>Welcome to CakePHP %s Console</info>', 'v' . Configure::version());
+		$this->out(sprintf('<info>Welcome to CakePHP %s Console</info>', 'v' . Configure::version()));
 		$this->hr();
 		$this->out(sprintf('App : %s', APP_DIR));
 		$this->out(sprintf('Path: %s', APP));