Browse Source

- A little fix for the Status in the Profile

pull/5/head
Jaussoin Timothée 14 years ago
parent
commit
38ca1903ca
  1. 2
      system/Widget/widgets/Profile/Profile.php

2
system/Widget/widgets/Profile/Profile.php

@ -56,7 +56,7 @@ class Profile extends WidgetBase
global $sdb;
$me = $sdb->select('Contact', array('key' => $this->user->getLogin(), 'jid' => $this->user->getLogin()));
$presence = PresenceHandler::getPresence($this->user->getLogin(), true, $this->xmpp->getResource());
$presence = Cache::c('presence');
if(isset($me[0])) {
$me = $me[0];

Loading…
Cancel
Save