Fix listApps() call
authorMichael M Slusarz <slusarz@curecanti.org>
Fri, 6 Aug 2010 20:18:30 +0000 (14:18 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Fri, 6 Aug 2010 22:07:56 +0000 (16:07 -0600)
horde/bin/db_migrate

index 0f0a821..2e8d0de 100755 (executable)
@@ -27,7 +27,7 @@ if (empty($args[0])) {
 }
 
 $app = $args[0];
-if (!in_array($app, $registry->listApps(array('inactive', 'hidden', 'notoolbar', 'admin', 'active')))) {
+if (!in_array($app, $registry->listApps(array('inactive', 'hidden', 'notoolbar', 'admin', 'active'), false, null))) {
     $cli->fatal("$app is not a configured Horde application");
 }