aboutsummaryrefslogtreecommitdiff
path: root/muamba.db.inc
diff options
context:
space:
mode:
Diffstat (limited to 'muamba.db.inc')
-rw-r--r--muamba.db.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/muamba.db.inc b/muamba.db.inc
index 5e3a403..4275dde 100644
--- a/muamba.db.inc
+++ b/muamba.db.inc
@@ -151,7 +151,9 @@ function muamba_current_transactions($data, $uid = NULL) {
return $rows[0];
}
- return $rows;
+ if (isset($rows)) {
+ return $rows;
+ }
}
/**