|
Lines 200-209
sub store {
Link Here
|
| 200 |
|
200 |
|
| 201 |
if ( defined $self->updated_on and not $self->updated_on ) { |
201 |
if ( defined $self->updated_on and not $self->updated_on ) { |
| 202 |
$self->updated_on(undef); |
202 |
$self->updated_on(undef); |
| 203 |
} elsif ( not $self->updated_on ) { |
|
|
| 204 |
# This is bad we should use columns_info instead |
| 205 |
# But it will avoid unecessary processing |
| 206 |
$self->updated_on(\"current_timestamp"); |
| 207 |
} |
203 |
} |
| 208 |
|
204 |
|
| 209 |
# Set default values if not set |
205 |
# Set default values if not set |
| 210 |
- |
|
|