16.11.2013, 12:06
IsAcceptedFriend is fine because it returns 1 if there are rows and 0 if not.
You also said that the dialog is shown but when you response on it - it does nothing.
You also said that the dialog is shown but when you response on it - it does nothing.