diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-11-16 15:07:26 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-11-16 15:07:26 -0200 |
commit | 8ae3a00a11d55c31de37b35cf6855fd333b0a29a (patch) | |
tree | b6d2b0fb9ff69868c6c96303163d46775eb6e030 /muamba.db.inc | |
parent | fdfe199f9b2b185ce95aa51a5d644be821d87d03 (diff) | |
download | muamba-8ae3a00a11d55c31de37b35cf6855fd333b0a29a.tar.gz muamba-8ae3a00a11d55c31de37b35cf6855fd333b0a29a.tar.bz2 |
Changing muamba_availability_info() behavior due to new muamba_check_availability() argument
Diffstat (limited to 'muamba.db.inc')
-rw-r--r-- | muamba.db.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/muamba.db.inc b/muamba.db.inc index 1c1894e..e24492b 100644 --- a/muamba.db.inc +++ b/muamba.db.inc @@ -199,7 +199,7 @@ function muamba_check_availability($data, $uid = NULL) { if (empty($current)) { return TRUE; } - elseif ($uid !== NULL && $current['uid'] == $user->uid) { + elseif ($uid !== NULL && $current[0]->uid == $user->uid) { return TRUE; } |