Index: trunk/extensions/SocialProfile/UserRelationship/Relationship_AjaxFunctions.php |
— | — | @@ -16,7 +16,7 @@ |
17 | 17 | $rel_type = strtolower( $request[0]['type'] ); |
18 | 18 | |
19 | 19 | $response = ( isset( $_POST['response' ] ) ) ? $_POST['response'] : $response; |
20 | | - $rel->updateRelationshipRequestStatus( $requestId, $response ); |
| 20 | + $rel->updateRelationshipRequestStatus( $requestId, intval( $response ) ); |
21 | 21 | |
22 | 22 | $avatar = new wAvatar( $user_id_from, 'l' ); |
23 | 23 | $avatar_img = $avatar->getAvatarURL(); |
— | — | @@ -37,5 +37,6 @@ |
38 | 38 | } |
39 | 39 | $rel->deleteRequest( $requestId ); |
40 | 40 | } |
| 41 | + |
41 | 42 | return $out; |
42 | 43 | } |