Changeset 948 for trunk/jabberit_messenger/inc
- Timestamp:
- 06/04/09 11:40:08 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/jabberit_messenger/inc/webservice.php
r946 r948 141 141 { 142 142 $uid = substr($pJid, 0, strpos($pJid,"@")); 143 143 144 144 if( $this->jabberName == (substr($pJid, strpos($pJid, "@") + 1 ))) 145 145 { … … 150 150 $filter = "(&(phpgwaccounttype=u)(uid=".$uid.")(!(phpgwaccountvisible=-1)))"; 151 151 $justthese = array("uid","jpegPhoto"); 152 152 153 $search = ldap_search($this->conn,$this->contextLdap,$filter,$justthese); 153 154 $entry1 = ldap_get_entries($this->conn,$search); … … 167 168 } 168 169 else 169 { 170 { 170 171 $jabberName = substr($pJid, strpos($pJid, "@") + 1 ); 171 172 172 173 if( strpos($jabberName, "/") ) 173 174 $jabberName = substr($jabberName, 0, strpos($jabberName, "/")); 174 175 175 176 $this->ldapConnectExternal($jabberName); 176 177 … … 228 229 $obj = new webService(); 229 230 $jid = $_REQUEST['javaPhoto']; 231 $jid = strpos($jid, "/") ? substr($jid, 0, strpos($jid, "/")) : $jid; 230 232 231 233 $photo = $obj->getPhotoLdap($jid);
Note: See TracChangeset
for help on using the changeset viewer.