projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ca4d2c
)
Shout: direct to wizard with no menus present
author
Ben Klang
<ben@alkaloid.net>
Sat, 3 Apr 2010 02:28:31 +0000
(22:28 -0400)
committer
Ben Klang
<ben@alkaloid.net>
Sat, 3 Apr 2010 02:28:31 +0000
(22:28 -0400)
shout/dialplan.php
patch
|
blob
|
history
diff --git
a/shout/dialplan.php
b/shout/dialplan.php
index
ed242a2
..
42041e6
100644
(file)
--- 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':