24 Oct
2025
24 Oct
'25
10:33 a.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20956 --- Comment #44 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- Koha::Patron +sub permissions { + my ($self) = @_; + + my $dbh = C4::Context->dbh; + my $sth = $dbh->prepare("SELECT bit, flag FROM userflags ORDER BY bit"); + $sth->execute(); The idea of Koha::Object[s] was to remove SQL statements. So we should not just add them here. We could create a simple Koha object for userflags and permissions? Or we can use Koha::Database->new->schema->resultset(..) as is done elsewhere in this module too. -- You are receiving this mail because: You are watching all bug changes.