diff options
author | redmatrix <git@macgirvin.com> | 2016-01-24 13:53:18 -0800 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-01-24 13:53:18 -0800 |
commit | 0db2fe6e39cca8eda1d2f53b3715a67e1bce4c5c (patch) | |
tree | 43a591919bca147bb214d3ad6e650ee7467bcc8e /boot.php | |
parent | ae6ae881519446f1ce750e678b5871a5e3866d0e (diff) | |
download | volse-hubzilla-0db2fe6e39cca8eda1d2f53b3715a67e1bce4c5c.tar.gz volse-hubzilla-0db2fe6e39cca8eda1d2f53b3715a67e1bce4c5c.tar.bz2 volse-hubzilla-0db2fe6e39cca8eda1d2f53b3715a67e1bce4c5c.zip |
remote delegation issue when already logged in with different account on same site.
Diffstat (limited to 'boot.php')
-rwxr-xr-x | boot.php | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1553,6 +1553,10 @@ function goaway($s) { * @return int|bool account_id or false */ function get_account_id() { + + if(intval($_SESSION['account_id'])) + return intval($_SESSION['account_id']); + if(get_app()->account) return intval(get_app()->account['account_id']); |