View | Details | Raw Unified | Return to bug 5462
Collapse All | Expand All

(-)a/C4/Members/Messaging.pm (+1 lines)
Lines 209-214 END_SQL Link Here
209
    $sth->execute();
209
    $sth->execute();
210
    my $choices;
210
    my $choices;
211
    while ( my $row = $sth->fetchrow_hashref() ) {
211
    while ( my $row = $sth->fetchrow_hashref() ) {
212
        $row->{'message_name'} =~ s/\W/\_/g;
212
        $choices->{ $row->{'message_name'} }->{'message_attribute_id'} = $row->{'message_attribute_id'};
213
        $choices->{ $row->{'message_name'} }->{'message_attribute_id'} = $row->{'message_attribute_id'};
213
        $choices->{ $row->{'message_name'} }->{'message_name'}         = $row->{'message_name'};
214
        $choices->{ $row->{'message_name'} }->{'message_name'}         = $row->{'message_name'};
214
        $choices->{ $row->{'message_name'} }->{'takes_days'}           = $row->{'takes_days'};
215
        $choices->{ $row->{'message_name'} }->{'takes_days'}           = $row->{'takes_days'};
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/messaging-preference-form.inc (-7 / +6 lines)
Lines 27-38 Link Here
27
    </tr>
27
    </tr>
28
    <!-- TMPL_LOOP name="messaging_preferences" -->
28
    <!-- TMPL_LOOP name="messaging_preferences" -->
29
    <tr>
29
    <tr>
30
      <td><!-- TMPL_IF NAME="Item Due" -->Item Due
30
      <td><!-- TMPL_IF NAME="Item_Due" -->Item Due
31
          <!-- TMPL_ELSIF NAME="Advance Notice" -->Advance Notice
31
          <!-- TMPL_ELSIF NAME="Advance_Notice" -->Advance Notice
32
          <!-- TMPL_ELSIF NAME="Upcoming Events" -->Upcoming Events
32
          <!-- TMPL_ELSIF NAME="Upcoming_Events" -->Upcoming Events
33
          <!-- TMPL_ELSIF NAME="Hold Filled" -->Hold Filled
33
          <!-- TMPL_ELSIF NAME="Hold_Filled" -->Hold Filled
34
          <!-- TMPL_ELSIF NAME="Item Check-in" -->Item Check-in
34
          <!-- TMPL_ELSIF NAME="Item_Check_in" -->Item Check-in
35
          <!-- TMPL_ELSIF NAME="Item Checkout" -->Item Checkout
35
          <!-- TMPL_ELSIF NAME="Item_Checkout" -->Item Checkout
36
          <!-- TMPL_ELSE -->Unknown <!-- /TMPL_IF --></td>
36
          <!-- TMPL_ELSE -->Unknown <!-- /TMPL_IF --></td>
37
      <!-- TMPL_IF NAME="takes_days" -->
37
      <!-- TMPL_IF NAME="takes_days" -->
38
      <td>
38
      <td>
39
- 

Return to bug 5462