[Koha-cvs] koha/C4 Suggestions.pm [rel_3_0]

Henri-Damien LAURENT laurenthdl at alinto.com
Fri Dec 22 18:07:44 CET 2006


CVSROOT:	/cvsroot/koha
Module name:	koha
Branch:		rel_3_0
Changes by:	Henri-Damien LAURENT <hdl>	06/12/22 17:07:44

Modified files:
	C4             : Suggestions.pm 

Log message:
	Bug Fixing: emailadress is email in database.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/C4/Suggestions.pm?cvsroot=koha&only_with_tag=rel_3_0&r1=1.12.2.3&r2=1.12.2.4

Patches:
Index: Suggestions.pm
===================================================================
RCS file: /cvsroot/koha/koha/C4/Suggestions.pm,v
retrieving revision 1.12.2.3
retrieving revision 1.12.2.4
diff -u -b -r1.12.2.3 -r1.12.2.4
--- Suggestions.pm	19 Dec 2006 15:15:13 -0000	1.12.2.3
+++ Suggestions.pm	22 Dec 2006 17:07:44 -0000	1.12.2.4
@@ -17,7 +17,7 @@
 # Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
 # Suite 330, Boston, MA  02111-1307 USA
 
-# $Id: Suggestions.pm,v 1.12.2.3 2006/12/19 15:15:13 toins Exp $
+# $Id: Suggestions.pm,v 1.12.2.4 2006/12/22 17:07:44 hdl Exp $
 
 use strict;
 require Exporter;
@@ -27,7 +27,7 @@
 use vars qw($VERSION @ISA @EXPORT);
 
 # set the version for version checking
-$VERSION = do { my @v = '$Revision: 1.12.2.3 $' =~ /\d+/g;
+$VERSION = do { my @v = '$Revision: 1.12.2.4 $' =~ /\d+/g;
   shift(@v) . "." . join("_", map {sprintf "%03d", $_ } @v); };
 
 =head1 NAME
@@ -371,10 +371,10 @@
         SELECT suggestions.*,
             boby.surname AS bysurname,
             boby.firstname AS byfirstname,
-            boby.emailaddress AS byemail,
+            boby.email AS byemail,
             lib.surname AS libsurname,
             lib.firstname AS libfirstname,
-            lib.emailaddress AS libemail
+            lib.email AS libemail
         FROM suggestions
             LEFT JOIN borrowers AS boby ON boby.borrowernumber=suggestedby
             LEFT JOIN borrowers AS lib ON lib.borrowernumber=managedby





More information about the Koha-cvs mailing list