[Koha-patches] [PATCH] Bug 7086: "Suggested by" saved when staff adds a suggestion

Adrien Saurat adrien.saurat at biblibre.com
Thu Mar 8 11:02:45 CET 2012


---
 suggestion/suggestion.pl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/suggestion/suggestion.pl b/suggestion/suggestion.pl
index 272ca6f..d965a9a 100755
--- a/suggestion/suggestion.pl
+++ b/suggestion/suggestion.pl
@@ -47,7 +47,7 @@ sub Init{
                               );
 	}
     $suggestion->{'managedby'}=C4::Context->userenv->{"number"} unless ($suggestion->{'managedby'});
-    $suggestion->{'createdby'}=C4::Context->userenv->{"number"} unless ($suggestion->{'createdby'});
+    $suggestion->{'suggestedby'}=C4::Context->userenv->{"number"} unless ($suggestion->{'suggestedby'});
     $suggestion->{'branchcode'}=C4::Context->userenv->{"branch"} unless ($suggestion->{'branchcode'});
 }
 
-- 
1.7.4.1



More information about the Koha-patches mailing list