diff --git a/public_html/includes/class/class.LSformElement_valueWithUnit.php b/public_html/includes/class/class.LSformElement_valueWithUnit.php
index 83cfa03f..cd08603a 100644
--- a/public_html/includes/class/class.LSformElement_valueWithUnit.php
+++ b/public_html/includes/class/class.LSformElement_valueWithUnit.php
@@ -165,7 +165,7 @@ class LSformElement_valueWithUnit extends LSformElement {
if (isset($_POST[$this -> name.'_unitFact'][$key]) && ($_POST[$this -> name.'_unitFact'][$key]!=1)) {
$f = $_POST[$this -> name.'_unitFact'][$key];
}
- if ($this -> getParam('html_options.store_integer'])) {
+ if ($this -> getParam('html_options.store_integer')) {
if ($this -> getParam('html_options.round_down')) {
$return[$this -> name][$key] = floor($val*$f);
}
diff --git a/public_html/includes/class/class.LSformRule_compare.php b/public_html/includes/class/class.LSformRule_compare.php
index d932e9be..5942743f 100644
--- a/public_html/includes/class/class.LSformRule_compare.php
+++ b/public_html/includes/class/class.LSformRule_compare.php
@@ -69,7 +69,7 @@ class LSformRule_compare extends LSformRule {
*/
public static function validate ($values,$options=array(),$formElement) {
if (!isset($options['params']['operator'])) {
- LSerror :: addErrorCode('LSformRule_01',array('type' => 'compare', 'param' => 'operator');
+ LSerror :: addErrorCode('LSformRule_01',array('type' => 'compare', 'param' => 'operator'));
return;
}
$operator = self :: _findOperator($options['params']['operator']);