Commit 05fbc816f427c9e736d8e325b9f6ae957e260fb4
1 parent
97410a16
Minor bugfixes
Showing
3 changed files
with
3 additions
and
2 deletions
lib/smbind.class.php
src/include.php
... | ... | @@ -525,7 +525,7 @@ function menu_buttons() { |
525 | 525 | |
526 | 526 | $cmasters = $user->getCommitableZones('master'); |
527 | 527 | $cmc = (is_array($cmasters)) ? sizeof($cmasters) : 0; |
528 | - $cslaves = intval($user->getCommitableZones('slave')); | |
528 | + $cslaves = $user->getCommitableZones('slave'); | |
529 | 529 | $csc = (is_array($cslaves)) ? sizeof($cslaves) : 0; |
530 | 530 | $commitables = $cmc + $csc; |
531 | 531 | if($commitables == 0) { | ... | ... |
src/slave_zoneread.php
... | ... | @@ -43,7 +43,7 @@ $smarty->assign("pagetitle", "Slave zones"); |
43 | 43 | $smarty->assign("template", "slave_zoneread.tpl"); |
44 | 44 | $smarty->assign("help", help("zoneread")); |
45 | 45 | $smarty->assign("menu_button", menu_buttons()); |
46 | -$smarty->assign("page_root", $src . "zonelist.php?"); | |
46 | +$smarty->assign("page_root", $src . "slave_zonelist.php?"); | |
47 | 47 | $smarty->display("main.tpl"); |
48 | 48 | |
49 | 49 | ?> | ... | ... |