summaryrefslogtreecommitdiff
path: root/views/prediction.haml
diff options
context:
space:
mode:
Diffstat (limited to 'views/prediction.haml')
-rw-r--r--views/prediction.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/prediction.haml b/views/prediction.haml
index 152efc9..076ed64 100644
--- a/views/prediction.haml
+++ b/views/prediction.haml
@@ -159,7 +159,7 @@
%b.title Lowest observed adverse effect level (LOAEL) (Rats) (Mazzatorta)
%p
- hash = mazzatorta["mazzatorta"]
- - unless hash.keys.include?("warnings")
+ - unless hash.keys.include?("warnings") || hash.key?(:warnings)
%b Prediction:
%br
= "#{hash[:mmol_prediction]} (mmol/kg_bw/day)"