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

(-)a/Koha/Object.pm (-2 / +3 lines)
Lines 155-161 sub store { Link Here
155
                  && $columns_info->{$col}->{datetime_undef_if_invalid} )
155
                  && $columns_info->{$col}->{datetime_undef_if_invalid} )
156
              {
156
              {
157
                  # timestamp
157
                  # timestamp
158
                  $self->_result()->set_column($col => $columns_info->{$col}->{default_value});
158
                  my $default_value = $columns_info->{$col}->{default_value};
159
                  $default_value = \"current_timestamp" if $default_value eq "current_timestamp()";
160
                  $self->_result()->set_column($col => $default_value);
159
              }
161
              }
160
        }
162
        }
161
    }
163
    }
162
- 

Return to bug 25040