Bug 6521 - allow blank cardnumbers to not trigger "already in use"
authorRobin Sheat <robin@catalyst.net.nz>
Tue, 21 Jun 2011 11:54:55 +0000 (07:54 -0400)
committerChris Cormack <chrisc@catalyst.net.nz>
Sat, 25 Jun 2011 14:26:11 +0000 (02:26 +1200)
commit785af7310daa4633359755add9474e81f108d022
tree42e4f6f2b616282738e08f422aca25bb918c7799
parentdaf2190a5571fdfbd831258428b3a488736d546f
Bug 6521 - allow blank cardnumbers to not trigger "already in use"

Now a blank cardnumber will get stored as a null in the database, which
is a value that allows duplicates. As such, if cardnumbers aren't
mandatory, then you can actually save a user with it being blank.

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
C4/Members.pm
members/memberentry.pl