[Koha-bugs] [Bug 15835] Koha::Object does not save changes
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Feb 17 11:15:36 CET 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15835
--- Comment #1 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Srdjan, what did you try exactly?
I have tried the following:
use Modern::Perl;
use Koha::Borrowers;
my $p = Koha::Borrowers->find(10);
$p->set({firstname => 'my new firstname', surname => 'my new surname'
})->store;
then
MariaDB [koha]> select firstname, surname from borrowers where
borrowernumber=10;
And I got my updated values.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list