[Koha-bugs] [Bug 13194] New: Tiny typo in POD for SetMessagingPreferencesFromDefaults

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Nov 4 12:44:11 CET 2014


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

            Bug ID: 13194
           Summary: Tiny typo in POD for
                    SetMessagingPreferencesFromDefaults
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: trivial
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: magnus at enger.priv.no
          Reporter: magnus at enger.priv.no
        QA Contact: testopia at bugs.koha-community.org

The POD for C4::Members::Messaging::SetMessagingPreferencesFromDefaults() has
an example of usage:

  C4::Members::Messaging::SetMessagingPreferenceFromDefaults( { borrowernumber
=> $borrower->{'borrowernumber'}
                                                                categorycode  
=> 'CPL' } );

The name of the subroutine is mis-spelled as SetMessagingPreferenceFromDefaults
when it should be SetMessagingPreference*s*FromDefaults. 

This has no practical consequences of course, but if you copy and paste the
example into your code it can lead to some unnecessary head scratching. Trust
me, I know...

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list