From 0bf09f0df033131bb68fb94a520c3a2c9885d032 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Fri, 21 Sep 2007 00:07:15 +0000 Subject: [PATCH] removed DriversLicense references from LoginForm (guess thats leftovers from perweek-client) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42367 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- security/Member.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/security/Member.php b/security/Member.php index e248ef751..bc08b48ce 100644 --- a/security/Member.php +++ b/security/Member.php @@ -1021,17 +1021,13 @@ class Member_SignupEmail extends Email_Template { <% end_if %> - <% if DriversLicense5A %> -
  • Drivers License: $DriversLicense5A<% if DriversLicense5B %> - $DriversLicense5B <% end_if %>
  • - <% end_if %> - '; function MemberData() { return $this->template_data->listOfFields( "FirstName", "Surname", "Email", "Phone", "Mobile", "Street", - "Suburb", "City", "Postcode", "DriversLicense5A", "DriversLicense5B" + "Suburb", "City", "Postcode" ); } } @@ -1090,7 +1086,7 @@ class Member_UnsubscribeRecord extends DataObject { ? $member : $member->ID; - $this->NewsletterTypeID = (is_numeric($newletterType)) + $this->NewsletterTypeID = (is_numeric($newsletterType)) ? $newsletterType : $newsletterType->ID;