aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-10-07 16:07:09 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-10-07 16:07:09 -0300
commitf8da1aa6b4c77e839fde883e2aef244b4fe18bf8 (patch)
tree10ebd8bb6f3af3462b9c76b965bd24262244560e
parentd21f86b8fa608ab754acf1bd68bf8721d527dbbb (diff)
downloadmuamba-f8da1aa6b4c77e839fde883e2aef244b4fe18bf8.tar.gz
muamba-f8da1aa6b4c77e839fde883e2aef244b4fe18bf8.tar.bz2
Minor fix
-rw-r--r--muamba.handlers.inc4
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);
+ }
}
}