Commit 2583b12c by Frédéric

Fix again

parent 33ebb860
......@@ -36,7 +36,11 @@ class TarifFilter
}
}
$data[$item[0]] = '<span>' . $item[0] .$complement .' </span> ' . ($amount) ? ': ' : ''.$amount;
if(!empty($amount)) {
$data[$item[0]] = '<span>' . $item[0] .$complement .' </span> :' .$amount;
} else {
$data[$item[0]] = '<span>' . $item[0] .$complement .' </span>';
}
}
}
......
Markdown is supported
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