@@ -95,6 +95,9 @@ |
||
95 | 95 | return true; |
96 | 96 | } |
97 | 97 | |
98 | + /** |
|
99 | + * @param string $field |
|
100 | + */ |
|
98 | 101 | function copy_value_to_object_if_defined($field, $value){ |
99 | 102 | if($value != null && $value != "undefined"){ |
100 | 103 | return $value; |