From 159a8266acf96c8d97855cb7ce3830366b674aa5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonathan=20Ara=C3=B1a=20Cruz?= Date: Tue, 6 Oct 2015 11:47:44 +0100 Subject: [PATCH] array_flip(): Can only flip STRING and INTEGER values! output.inc:184. Fixes #1667 --- includes/command.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/command.inc b/includes/command.inc index c256e484d8..bd819f2247 100644 --- a/includes/command.inc +++ b/includes/command.inc @@ -1389,7 +1389,7 @@ function drush_commandfile_list() { } function _drush_find_commandfiles($phase, $phase_max = FALSE) { - drush_log(dt("Find command files for phase !phase (max=!max)", array('!phase' => $phase, '!max' => $phase_max)), 'debug'); + drush_log(dt("Find command files for phase !phase (max=!max)", array('!phase' => $phase, '!max' => (string)$phase_max)), 'debug'); if ($bootstrap = drush_get_bootstrap_object()) { $searchpath = $bootstrap->commandfile_searchpaths($phase, $phase_max); _drush_add_commandfiles($searchpath, $phase);