Changeset 727 for branches


Ignore:
Timestamp:
03/22/13 13:45:54 (11 years ago)
Author:
ramonb
Message:
  • fixed default metric to new conf array
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/0.4/web/addons/job_monarch/index.php

    r722 r727  
    105105    global $parentgrid, $physical, $hostname;
    106106    global $self, $filter, $cluster_url, $get_metric_string;
    107     global $metrics, $reports, $m, $default_metric;
     107    global $metrics, $reports, $m, $conf;
    108108    global $default_refresh, $filterorder, $view;
    109109    global $JOB_ARCHIVE, $period_start, $period_stop, $h, $id;
    110110    global $job_start, $job_stop, $range, $r, $metricname;
    111111   
    112     if( isset($default_metric) and !isset($m) )
    113         $metricname = $default_metric;
     112    if( isset($conf['default_metric']) and !isset($m) )
     113        $metricname = $conf['default_metric'];
    114114    else
    115115        if( isset( $m ) )
Note: See TracChangeset for help on using the changeset viewer.