Commit b1346b89 authored by FoucherAurelie's avatar FoucherAurelie
Browse files

#114 fix if empty

Showing with 3 additions and 0 deletions
+3 -0
......@@ -897,6 +897,9 @@ function cartable_civicrm_alterCustomFieldDisplayValue(&$displayValue, $value, $
</thead>
<tbody>';
foreach($rows as $row){
if(empty($row)) {
continue;
}
$cols = explode('|', $row);
$html.='
<tr><td>'.trim($cols[0]).'</td><td>'.trim($cols[1]).'€</td></tr>';
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment