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

            Bug ID: 14683
           Summary: Unable to clear SMS number
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: OPAC
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

In opac-messaging.pl (your messaging) you cannot unset your SMS number once it
has been set if your mobile (other phone) field is empty.

When checking for modified SMS number, we also check if SMS number does not
equal mobile phone. This is causing the bug:

$query->param('SMSnumber') ne $borrower->{'mobile'}

Since mobile is empty and the given SMS number is also empty, the given SMS
number will not be saved. Does anybody have an idea why we have this kind of
condition?

to reproduce:
-2. Make sure borrower does not have mobile (other phone) set
-1. Make sure you have SMS messaging enabled
1. Navigate to your messaging
2. Insert SMS number and submit
3. Clear SMS number and submit
4. Observe that the sms number did not change

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to