authorMagnus Enger <>2014-11-04 13:03:16 (GMT)
committer Tomas Cohen Arazi <>2014-11-06 13:14:13 (GMT)
commit0bfcb079a1a789cec9f2ad04f50d85fbbff9a529 (patch) (side-by-side diff)
parent2aebc84cc880048c559aa4d19e66cb35a37f42ea (diff)
Bug 13194: Fix typo in SetMessagingPreferencesFromDefaults POD
The example usage for C4::Members::Messaging::SetMessagingPreferencesFromDefaults calls the subroutine SetMessagingPreferenceFromDefaults, not SetMessagingPreferencesFromDefaults (missing the 's' at the end of 'Preferences'). To test: - Apply the patch - Check that the POD now refers to the actual name of the subroutine (perldoc C4::Members::Messaging) Adding 's' is the correct doc change to make it match with the function definition. Comfirmable with less. perldoc C4::Members::Messaging proves the doc is still nice. Signed-off-by: Mark Tompsett <> Signed-off-by: Jonathan Druart <> Signed-off-by: Tomas Cohen Arazi <>
Diffstat (more/less context) (ignore whitespace changes)
1 files changed, 1 insertions, 1 deletions
diff --git a/C4/Members/ b/C4/Members/
index 6be8347..f28c3dc 100644
--- a/C4/Members/
+++ b/C4/Members/
@@ -223,7 +223,7 @@ END_SQL
=head2 SetMessagingPreferencesFromDefaults
- C4::Members::Messaging::SetMessagingPreferenceFromDefaults( { borrowernumber => $borrower->{'borrowernumber'}
+ C4::Members::Messaging::SetMessagingPreferencesFromDefaults( { borrowernumber => $borrower->{'borrowernumber'}
categorycode => 'CPL' } );
Given a borrowernumber and a patron category code (from the C<borrowernumber> and C<categorycode> keys