diff --git a/web/includes/actions/function.php b/web/includes/actions/function.php index 8fcd411b6..489040d53 100644 --- a/web/includes/actions/function.php +++ b/web/includes/actions/function.php @@ -45,5 +45,6 @@ if ( !empty($_REQUEST['mid']) && canEdit('Monitors', $_REQUEST['mid']) ) { $refreshParent = true; } } // end if action + $view = 'none'; } // end if $mid and canEdit($mid) ?> diff --git a/web/skins/classic/views/function.php b/web/skins/classic/views/function.php index 45355ec4e..8864fb07e 100644 --- a/web/skins/classic/views/function.php +++ b/web/skins/classic/views/function.php @@ -18,42 +18,43 @@ // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. // -if ( !canEdit( 'Monitors' ) ) { +if ( !canEdit('Monitors') ) { $view = 'error'; return; } -$monitor = dbFetchMonitor( $_REQUEST['mid'] ); +$monitor = dbFetchMonitor($_REQUEST['mid']); $focusWindow = true; -xhtmlHeaders(__FILE__, translate('Function')." - ".validHtmlStr($monitor['Name']) ); +xhtmlHeaders(__FILE__, translate('Function').' - '.validHtmlStr($monitor['Name'])); ?>
- +

- checked="checked"/> + + checked="checked"/>

- - + +