[open-ils-commits] r13573 - trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Jul 13 12:22:13 EDT 2009
Author: erickson
Date: 2009-07-13 12:22:10 -0400 (Mon, 13 Jul 2009)
New Revision: 13573
Modified:
trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm
Log:
force the staff flag to true for staff-created notes
Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm 2009-07-13 15:17:51 UTC (rev 13572)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm 2009-07-13 16:22:10 UTC (rev 13573)
@@ -683,6 +683,7 @@
if($hold->usr ne $e->requestor->id) {
my $usr = $e->retrieve_actor_user($hold->usr);
return $e->die_event unless $e->allowed('UPDATE_HOLD', $usr->home_ou);
+ $note->staff('t') if $note->isnew;
}
if($note->isnew) {
More information about the open-ils-commits
mailing list