http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=4419

--- Comment #1 from Owen Leonard <[email protected]> 2011-08-22 14:48:55 UTC 
---
In my test the problem isn't that submitting the form doesn't do anything, it's
that it does the wrong thing. What happens is a *new* notice is created with
the update values you set. You end up with a duplicate notice with the updated
module value.

This problem happens because of the way submissions are handled. First the code
checks to see if you're updating a notice or editing it:

if (letter_exists($module, $code)) {...

The letter isn't going to exist, because the value for $module is the *new*
value you're trying to update it to. There for the code proceeds to performing
an insert instead of an update.

-- 
Configure bugmail: 
http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to