Changeset 10413 for trunk/xmlrpc
- Timestamp:
- 05/05/09 04:49:03 (3 years ago)
- Location:
- trunk/xmlrpc
- Files:
-
- 2 edited
-
BxDolXMLRPCFriends.php (modified) (2 diffs)
-
BxDolXMLRPCImages.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/xmlrpc/BxDolXMLRPCFriends.php
r9967 r10413 18 18 WHERE 1 19 19 AND (f1.`ID` IS NOT NULL OR f2.`ID` IS NOT NULL) 20 ORDER BY p.` Picture` DESC20 ORDER BY p.`Avatar` DESC 21 21 "; 22 22 $r = db_res($sFriendsSQL); … … 25 25 LEFT JOIN `Profiles` ON (`Profiles`.`ID` = `sys_friend_list`.`Profile` AND `sys_friend_list`.`ID` = '$iIdProfile' OR `Profiles`.`ID` = `sys_friend_list`.`ID` AND `sys_friend_list`.`Profile` = '$iIdProfile') 26 26 WHERE (`sys_friend_list`.`Profile` = '$iIdProfile' OR `sys_friend_list`.`ID` = '$iIdProfile') AND `sys_friend_list`.`Check` = '1' 27 ORDER BY `Profiles`.` Picture` DESC");*/27 ORDER BY `Profiles`.`Avatar` DESC");*/ 28 28 29 29 $aProfiles = array (); -
trunk/xmlrpc/BxDolXMLRPCImages.php
r8596 r10413 75 75 $aFileInfo['Categories'] = is_array($aCats) && count($aCats) ? $aCats : array($sProfileCat); 76 76 77 $isUpdateThumb = (int)db_value("SELECT ` Picture` FROM `Profiles` WHERE `ID` = '$iId' LIMIT 1") ? false : true;77 $isUpdateThumb = (int)db_value("SELECT `Avatar` FROM `Profiles` WHERE `ID` = '$iId' LIMIT 1") ? false : true; 78 78 79 //Todo .. I can`t perform updating of omages by avatars. possible later 79 80 if (BxDolService::call('shared_photo', 'perform_photo_upload', array($sTmpFilename, $aFileInfo, $isUpdateThumb), 'Uploader')) 80 81 return new xmlrpcval ("ok");
Note: See TracChangeset
for help on using the changeset viewer.