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

(-)a/C4/MarcModificationTemplates.pm (-1 / +5 lines)
Lines 240-245 sub AddModificationTemplateAction { Link Here
240
                    $to_regex_search, $to_regex_replace, $to_regex_modifiers, $conditional, $conditional_field, $conditional_subfield, $conditional_comparison,
240
                    $to_regex_search, $to_regex_replace, $to_regex_modifiers, $conditional, $conditional_field, $conditional_subfield, $conditional_comparison,
241
                    $conditional_value, $conditional_regex, $description )" ) if DEBUG;
241
                    $conditional_value, $conditional_regex, $description )" ) if DEBUG;
242
242
243
  $conditional ||= undef;
244
  $conditional_comparison ||= undef;
243
  $conditional_regex ||= '0';
245
  $conditional_regex ||= '0';
244
246
245
  my $dbh = C4::Context->dbh;
247
  my $dbh = C4::Context->dbh;
Lines 337-342 sub ModModificationTemplateAction { Link Here
337
  ) = @_;
339
  ) = @_;
338
340
339
  my $dbh = C4::Context->dbh;
341
  my $dbh = C4::Context->dbh;
342
  $conditional ||= undef;
343
  $conditional_comparison ||= undef;
344
  $conditional_regex ||= '0';
340
345
341
  my $query = "
346
  my $query = "
342
  UPDATE marc_modification_template_actions SET
347
  UPDATE marc_modification_template_actions SET
343
- 

Return to bug 20144