From: Ben Klang Date: Sat, 3 Apr 2010 02:28:31 +0000 (-0400) Subject: Shout: direct to wizard with no menus present X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=0e5253a44cf668770dbf2904bead70e659eefc69;p=horde.git Shout: direct to wizard with no menus present --- diff --git a/shout/dialplan.php b/shout/dialplan.php index ed242a28e..42041e679 100644 --- a/shout/dialplan.php +++ b/shout/dialplan.php @@ -19,6 +19,9 @@ $menu = Horde_Util::getFormData('menu'); $curaccount = $_SESSION['shout']['curaccount']; $menus = $shout->storage->getMenus($curaccount['code']); +if (empty($menus)) { + header('Location: ' . Horde::applicationUrl('wizard.php', true)); +} switch($action) { case 'add':