diff options
-rw-r--r-- | muamba.handlers.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/muamba.handlers.inc b/muamba.handlers.inc index 37033ee..16c1f38 100644 --- a/muamba.handlers.inc +++ b/muamba.handlers.inc @@ -13,7 +13,9 @@ class views_handler_field_muamba_status extends views_handler_field { * Renders the field. */ function render($values) { - return muamba_statuses($values->muamba_status); + if (!empty($values->muamba_status)) { + return muamba_statuses($values->muamba_status); + } } } |