diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-10-07 16:07:09 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-10-07 16:07:09 -0300 |
commit | f8da1aa6b4c77e839fde883e2aef244b4fe18bf8 (patch) | |
tree | 10ebd8bb6f3af3462b9c76b965bd24262244560e | |
parent | d21f86b8fa608ab754acf1bd68bf8721d527dbbb (diff) | |
download | muamba-f8da1aa6b4c77e839fde883e2aef244b4fe18bf8.tar.gz muamba-f8da1aa6b4c77e839fde883e2aef244b4fe18bf8.tar.bz2 |
Minor fix
-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); + } } } |