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

(-)a/Koha/Item.pm (-3 / +1 lines)
Lines 148-156 sub store { Link Here
148
            $self->permanent_location( $self->location );
148
            $self->permanent_location( $self->location );
149
        }
149
        }
150
150
151
        if ( $self->timestamp ) {
151
        $self->timestamp(undef) if $self->timestamp; # Maybe move this to Koha::Object->store?
152
            $self->timestamp(dt_from_string); # Maybe move this to Koha::Object->store?
153
        }
154
152
155
        C4::Biblio::ModZebra( $self->biblionumber, "specialUpdate", "biblioserver" );
153
        C4::Biblio::ModZebra( $self->biblionumber, "specialUpdate", "biblioserver" );
156
154
(-)a/Koha/Object.pm (-1 / +6 lines)
Lines 151-156 sub store { Link Here
151
                    $self->_result()->set_column($col => $columns_info->{$col}->{default_value});
151
                    $self->_result()->set_column($col => $columns_info->{$col}->{default_value});
152
                }
152
                }
153
            }
153
            }
154
            elsif ( not defined $self->$col
155
                  && $columns_info->{$col}->{datetime_undef_if_invalid} )
156
              {
157
                  # timestamp
158
                  $self->$col( $columns_info->{$col}->{default_value} );
159
              }
154
        }
160
        }
155
    }
161
    }
156
162
157
- 

Return to bug 23463