[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-bugs] [Bug 1517] C4::Members AddMember and ModMember should pass b
From: |
bugzilla-daemon |
Subject: |
[Koha-bugs] [Bug 1517] C4::Members AddMember and ModMember should pass back failure codes |
Date: |
Sat, 15 Dec 2007 22:49:56 -0800 (PST) |
http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=1517
------- Comment #2 from address@hidden 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.