Need listAllApps() here as well
authorMichael J. Rubinsky <mrubinsk@horde.org>
Fri, 22 Jan 2010 16:34:39 +0000 (11:34 -0500)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Fri, 22 Jan 2010 16:34:39 +0000 (11:34 -0500)
horde/admin/setup/config.php

index 18699d7..8e03ea7 100644 (file)
@@ -20,7 +20,7 @@ $app = Horde_Util::getFormData('app');
 $appname = $registry->get('name', $app);
 $title = sprintf(_("%s Setup"), $appname);
 
-if (empty($app) || !in_array($app, $registry->listApps(array('inactive', 'hidden', 'notoolbar', 'active', 'admin')))) {
+if (empty($app) || !in_array($app, $registry->listAllApps())) {
     $notification->push(_("Invalid application."), 'horde.error');
     $url = Horde::applicationUrl('admin/setup/index.php', true);
     header('Location: ' . $url);