From 4bea67f7f2ab5f8a23133e9df157c7ebddf3c1ac Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Mon, 8 Feb 2010 10:15:59 +0100 Subject: [PATCH] Fix argument passing (Bug #8846). --- horde/bin/db_migrate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/horde/bin/db_migrate b/horde/bin/db_migrate index f40506432..3f9f51443 100755 --- a/horde/bin/db_migrate +++ b/horde/bin/db_migrate @@ -23,7 +23,7 @@ if (empty($args[0])) { $cli->fatal("An application argument is required"); } $app = $args[0]; -if (!in_array($app, $GLOBALS['registry']->listApps('inactive', 'hidden', 'notoolbar', 'admin', 'active'))) { +if (!in_array($app, $GLOBALS['registry']->listApps(array('inactive', 'hidden', 'notoolbar', 'admin', 'active')))) { $cli->fatal("$app is not a configured Horde application"); } $action = 'up'; -- 2.11.0