Fixes an "undefined index" warning on the account settings page
Bug 1311963. The call to get_records_assoc() assumes that institution.name
will be the first column returned. But we've added an institution.id column
that comes before that, so now we need to specifically tell it to use the
name column instead.
Reviewed: https:/ /reviews. mahara. org/3287 gitorious. org/mahara/ mahara/ commit/ f91fbf0aa2bcf08 876c1ad8646b298 c92b3d79dd
Committed: http://
Submitter: Robert Lyon (<email address hidden>)
Branch: master
commit f91fbf0aa2bcf08 876c1ad8646b298 c92b3d79dd
Author: Aaron Wells <email address hidden>
Date: Thu Apr 24 14:49:31 2014 +1200
Fixes an "undefined index" warning on the account settings page
Bug 1311963. The call to get_records_assoc() assumes that institution.name
will be the first column returned. But we've added an institution.id column
that comes before that, so now we need to specifically tell it to use the
name column instead.
Change-Id: I51ef6e805b8089 4fa6af7bc732fb2 41adac0fdec