Adding user email to message sent from cart
authorMarijana Glavica <mglavica@ffzg.hr>
Tue, 31 Jan 2012 19:50:51 +0000 (20:50 +0100)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 4 Jan 2016 14:56:37 +0000 (15:56 +0100)
opac/opac-sendbasket.pl

index 6b2d62f..b143b5b 100755 (executable)
@@ -117,6 +117,7 @@ if ( $email_add ) {
         comment        => $comment,
         firstname      => $user->{firstname},
         surname        => $user->{surname},
+               email          => $user->{email},
     );
 
     # Getting template result