SQL: [606] SELECT as_user.name as u, as_ringtone.id as i, as_ringtone.add_date, as_ringtone.title as t, as_ringtone.slug, as_ringtone.user=? as o, (as_fav.id IS NOT NULL) as f, as_ringtone.download as d, as_ringtone.duration as s, GROUP_CONCAT(as_tag.title) as e FROM as_ringtone INNER JOIN as_ringtone_tag ON as_ringtone.id = as_ringtone_tag.ringtone INNER JOIN as_tag ON as_ringtone_tag.tag = as_tag.id LEFT OUTER JOIN (SELECT * from as_fav WHERE as_fav.user = ?) as as_fav ON as_fav.ringtone = as_ringtone.id INNER JOIN as_user ON as_user.id = as_ringtone.user WHERE as_ringtone.hash = ? GROUP BY as_ringtone.title Sent SQL: [621] SELECT as_user.name as u, as_ringtone.id as i, as_ringtone.add_date, as_ringtone.title as t, as_ringtone.slug, as_ringtone.user=NULL as o, (as_fav.id IS NOT NULL) as f, as_ringtone.download as d, as_ringtone.duration as s, GROUP_CONCAT(as_tag.title) as e FROM as_ringtone INNER JOIN as_ringtone_tag ON as_ringtone.id = as_ringtone_tag.ringtone INNER JOIN as_tag ON as_ringtone_tag.tag = as_tag.id LEFT OUTER JOIN (SELECT * from as_fav WHERE as_fav.user = NULL) as as_fav ON as_fav.ringtone = as_ringtone.id INNER JOIN as_user ON as_user.id = as_ringtone.user WHERE as_ringtone.hash = '5c45a1b2' GROUP BY as_ringtone.title Params: 3 Key: Position #0: paramno=0 name=[0] "" is_param=1 param_type=1 Key: Position #1: paramno=1 name=[0] "" is_param=1 param_type=1 Key: Position #2: paramno=2 name=[0] "" is_param=1 param_type=2 array(2) { [0]=> NULL [1]=> bool(true) }