Commit 9ae356d7 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 479345: Field::Choice->update returns incorrect data in list context,…

Bug 479345: Field::Choice->update returns incorrect data in list context, leading group settings changes to crash - Patch by Fré©ric Buclin <LpSolit@gmail.com> r/a=mkanat
parent 90ae4269
...@@ -171,7 +171,7 @@ sub update { ...@@ -171,7 +171,7 @@ sub update {
} }
$dbh->bz_commit_transaction(); $dbh->bz_commit_transaction();
return $changes; return wantarray ? ($changes, $old_self) : $changes;
} }
sub remove_from_db { sub remove_from_db {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment