[open-ils-commits] r11863 - trunk/Open-ILS/src/perlmods/OpenILS/Application/Actor
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Jan 16 11:14:43 EST 2009
Author: erickson
Date: 2009-01-16 11:14:41 -0500 (Fri, 16 Jan 2009)
New Revision: 11863
Modified:
trunk/Open-ILS/src/perlmods/OpenILS/Application/Actor/Friends.pm
Log:
for a given linked user, there is only 1 set of user info (name, etc.). no need to keep the array
Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Actor/Friends.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Actor/Friends.pm 2009-01-16 15:44:05 UTC (rev 11862)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Actor/Friends.pm 2009-01-16 16:14:41 UTC (rev 11863)
@@ -125,7 +125,7 @@
$user_select->{where} = {id => $d_user};
push(@$items, {
- user => $e->json_query($user_select),
+ user => $e->json_query($user_select)->[0],
perms_granted => $perms_granted,
perms_received => $perms_received
}
More information about the open-ils-commits
mailing list