[Koha-bugs] [Bug 1517] C4::Members AddMember and ModMember should pass back failure codes
bugzilla-daemon at pippin.metavore.com
bugzilla-daemon at pippin.metavore.com
Sun Dec 16 07:49:56 CET 2007
http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=1517
------- Comment #2 from mason.james at liblime.com 2007-12-15 22:49 -------
(In reply to comment #1)
> fyi: modmember() seems busted on my koha
>
> this simple example code....
>
> my $member = GetMember($borrowernumber);
> ModMember($member);
>
> spits this to the errorlog.
>
>
> UPDATE borrowers SET WHERE borrowernumber= at
> /home/mtj/koha/production/intranet/modules/C4/Members.pm line 658.
> DBD::mysql::st execute failed: You have an error in your SQL syntax; check the
> manual that corresponds to your MySQL server version for the right syntax to
> use near 'WHERE borrowernumber=' at line 1 at
> /home/mtj/koha/production/intranet/modules/C4/Members.pm line 660.
>
>
> anyone else have this problem?
>
oops, false alarm :)
my $member = GetMember($borrowernumber);
ModMember(%$member); <<< missed the %
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
More information about the Koha-bugs
mailing list