Fix phpcs
This commit is contained in:
parent
e536ee87b8
commit
86f6736a18
@ -1246,7 +1246,6 @@ class DolGraph
|
|||||||
|
|
||||||
$color = 'rgb('.$newcolor[0].', '.$newcolor[1].', '.$newcolor[2].', 0.9)';
|
$color = 'rgb('.$newcolor[0].', '.$newcolor[1].', '.$newcolor[2].', 0.9)';
|
||||||
$bordercolor = 'rgb('.$newcolor[0].', '.$newcolor[1].', '.$newcolor[2].')';
|
$bordercolor = 'rgb('.$newcolor[0].', '.$newcolor[1].', '.$newcolor[2].')';
|
||||||
|
|
||||||
} else { // We do not use a 'group by'
|
} else { // We do not use a 'group by'
|
||||||
$color = 'rgb('.$this->datacolor[$i][0].', '.$this->datacolor[$i][1].', '.$this->datacolor[$i][2].', 0.9)';
|
$color = 'rgb('.$this->datacolor[$i][0].', '.$this->datacolor[$i][1].', '.$this->datacolor[$i][2].', 0.9)';
|
||||||
$bordercolor = $color;
|
$bordercolor = $color;
|
||||||
|
|||||||
@ -1348,7 +1348,8 @@ class FormOther
|
|||||||
* @param array $arrayofgroupby Array of groupby to fill
|
* @param array $arrayofgroupby Array of groupby to fill
|
||||||
* @return string HTML string component
|
* @return string HTML string component
|
||||||
*/
|
*/
|
||||||
public function selectGroupByField($object, $search_groupby, &$arrayofgroupby) {
|
public function selectGroupByField($object, $search_groupby, &$arrayofgroupby)
|
||||||
|
{
|
||||||
global $langs, $extrafields, $form;
|
global $langs, $extrafields, $form;
|
||||||
|
|
||||||
$YYYY=substr($langs->trans("Year"), 0, 1).substr($langs->trans("Year"), 0, 1).substr($langs->trans("Year"), 0, 1).substr($langs->trans("Year"), 0, 1);
|
$YYYY=substr($langs->trans("Year"), 0, 1).substr($langs->trans("Year"), 0, 1).substr($langs->trans("Year"), 0, 1).substr($langs->trans("Year"), 0, 1);
|
||||||
@ -1404,7 +1405,8 @@ class FormOther
|
|||||||
* @param array $arrayofxaxis Array of groupby to fill
|
* @param array $arrayofxaxis Array of groupby to fill
|
||||||
* @return string HTML string component
|
* @return string HTML string component
|
||||||
*/
|
*/
|
||||||
public function selectXAxisField($object, $search_xaxis, &$arrayofxaxis) {
|
public function selectXAxisField($object, $search_xaxis, &$arrayofxaxis)
|
||||||
|
{
|
||||||
global $langs, $extrafields, $form;
|
global $langs, $extrafields, $form;
|
||||||
|
|
||||||
$YYYY=substr($langs->trans("Year"), 0, 1).substr($langs->trans("Year"), 0, 1).substr($langs->trans("Year"), 0, 1).substr($langs->trans("Year"), 0, 1);
|
$YYYY=substr($langs->trans("Year"), 0, 1).substr($langs->trans("Year"), 0, 1).substr($langs->trans("Year"), 0, 1).substr($langs->trans("Year"), 0, 1);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user