Permalink
Browse files

fix replacement of article attached files

  • Loading branch information...
1 parent e1d80b8 commit aa3a4f444d422ac5923c36241b925ec452fdf8bf @tonycoz committed Mar 20, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 site/cgi-bin/modules/BSE/Edit/Article.pm
View
4 site/cgi-bin/modules/BSE/Edit/Article.pm
@@ -16,7 +16,7 @@ use List::Util qw(first);
use constant MAX_FILE_DISPLAYNAME_LENGTH => 255;
use constant ARTICLE_CUSTOM_FIELDS_CFG => "article custom fields";
-our $VERSION = "1.031";
+our $VERSION = "1.032";
=head1 NAME
@@ -4300,7 +4300,7 @@ sub filesave {
$file->{filename} = $file_name;
$file->{storage} = 'local';
$file->{sizeInBytes} = -s $full_name;
- $file->{whenUploaded} = now_datetime();
+ $file->{whenUploaded} = now_sqldatetime();
$file->{displayName} = $display_name;
push @content_changed, $file;
}

0 comments on commit aa3a4f4

Please sign in to comment.