Fixed some indenting
This commit is contained in:
parent
57c553e05f
commit
7b98b62c16
|
@ -7,14 +7,14 @@ class Config extends AppModel {
|
||||||
$name_begin = substr($name, 0, 7);
|
$name_begin = substr($name, 0, 7);
|
||||||
$name_end = substr($name, 6);
|
$name_end = substr($name, 6);
|
||||||
$bandwidth_short = strtoupper($zmBandwidth[0]);
|
$bandwidth_short = strtoupper($zmBandwidth[0]);
|
||||||
$option = $name_begin . $bandwidth_short . $name_end;
|
$option = $name_begin . $bandwidth_short . $name_end;
|
||||||
|
|
||||||
$ZM_OPTIONS = $this->find('first', array(
|
$ZM_OPTIONS = $this->find('first', array(
|
||||||
'fields' => array('Value'),
|
'fields' => array('Value'),
|
||||||
'conditions' => array('Category' => $zmBandwidth.'band', 'Name' => $option)
|
'conditions' => array('Category' => $zmBandwidth.'band', 'Name' => $option)
|
||||||
));
|
));
|
||||||
|
|
||||||
return($ZM_OPTIONS['Config']['Value']);
|
return($ZM_OPTIONS['Config']['Value']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue