diff options
author | mistic100 <mistic@piwigo.org> | 2012-02-10 14:44:20 +0000 |
---|---|---|
committer | mistic100 <mistic@piwigo.org> | 2012-02-10 14:44:20 +0000 |
commit | a25fe0c7e86da6c60b22b7785d27832f0bb18b2a (patch) | |
tree | 6fb4d1bb4b872d57c06005cb2c8f33ea0b341638 /admin/site_update.php | |
parent | 1a56352d0854adc604c4efd640297276e5ce37ce (diff) |
feature 2567: in IMAGES_TABLE the field "name" is prefilled with the filename
git-svn-id: http://piwigo.org/svn/trunk@13082 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | admin/site_update.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/admin/site_update.php b/admin/site_update.php index ef73e0104..2021ac984 100644 --- a/admin/site_update.php +++ b/admin/site_update.php @@ -410,6 +410,7 @@ SELECT id, path $insert = array( 'id' => $next_element_id++, 'file' => $filename, + 'name' => get_name_from_file($filename), 'date_available' => CURRENT_DATE, 'path' => $path, 'representative_ext' => $fs[$path]['representative_ext'], |