MantisBT - ATutor
View Issue Details
0005365ATutorSocialpublic2013-10-12 11:562013-12-28 12:50
greg 
greg 
normalminoralways
closedfixed 
 
2.22.2 
SVN
adaf535..4e66141 master -> master
0005365: Social confirmed friends show up as pending
Confirmed friend always show up in My Contacts as "Pending."
mods/_standard/social/connections.php

Line 83 in default/social/connections.tmpl.php always resolve true $person['pending']==1, even though showing debug($person) shows only the fiends ID number. When debug($person['pending']) the value is always set to 1 for some reason I'm unable to determine. This does not occur in 2.1.1, only in the current git code.
No tags attached.
Issue History
2013-10-12 11:56gregNew Issue
2013-10-15 20:21gregNote Added: 0006515
2013-10-16 09:24gregSVN Revision# => adaf535..4e66141 master -> master
2013-10-16 09:24gregNote Added: 0006516
2013-10-16 09:24gregStatusnew => resolved
2013-10-16 09:24gregFixed in Version => 2.2
2013-10-16 09:24gregResolutionopen => fixed
2013-10-16 09:24gregAssigned To => greg
2013-12-28 12:50gregNote Added: 0006630
2013-12-28 12:50gregStatusresolved => closed

Notes
(0006515)
greg   
2013-10-15 20:21   
This is related to the PHP version. The problem exists with php 5.4.10 but not with 5.2.17.
(0006516)
greg   
2013-10-16 09:24   
initialize $connections array to provide 5.4+ support
(0006630)
greg   
2013-12-28 12:50   
closed for ATutor 2.2