Minor - add return.

1.10.x
Julio Montoya 10 years ago
parent 88632f1839
commit 2aff115f9a
  1. 6
      main/inc/lib/formvalidator/FormValidator.class.php

@ -258,7 +258,7 @@ EOT;
*/
public function addButtonSave($label, $name = 'submit')
{
$this->addButton($name, $label, 'check', 'primary');
return $this->addButton($name, $label, 'check', 'primary');
}
/**
@ -266,7 +266,7 @@ EOT;
*/
public function addButtonCreate($label, $name = 'submit')
{
$this->addButton($name, $label, 'plus', 'primary');
return $this->addButton($name, $label, 'plus', 'primary');
}
/**
@ -344,8 +344,6 @@ EOT;
return $this->addButton($name, $label, 'filter', 'primary');
}
/**
* @param string $name
* @param string $label

Loading…
Cancel
Save