From: Jan Schneider Date: Mon, 8 Feb 2010 09:15:59 +0000 (+0100) Subject: Fix argument passing (Bug #8846). X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=4bea67f7f2ab5f8a23133e9df157c7ebddf3c1ac;p=horde.git Fix argument passing (Bug #8846). --- 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';