From 884f50155c29b531a48963f06694f261eca1b52f Mon Sep 17 00:00:00 2001 From: Thomas Keller Date: Sat, 5 Nov 2011 14:46:31 +0100 Subject: [PATCH] Fix issue 740. --- NEWS.mdtext | 2 ++ src/IDF/Form/ProjectConf.php | 1 + 2 files changed, 3 insertions(+) diff --git a/NEWS.mdtext b/NEWS.mdtext index fe20db7..2ea51d4 100644 --- a/NEWS.mdtext +++ b/NEWS.mdtext @@ -55,6 +55,8 @@ or newer to properly run this version of Indefero! - Avatar URL generation use correctly the configuration (issue 732) - The SyncGit plugin no longer fails to remove a non-existing post-update hook on repository creation (issue 752) +- When uploading a project logo, an existing uploaded file with the same name + no longer leads to an error, but is simple overwritten (fixes issue 740) - The error detection and reporting in the SyncMonotone plugin has been improved - The branch links users of the Subversion frontend get when they enter a wrong revision are fixed; this list is now also only displayed (for any SCM) if diff --git a/src/IDF/Form/ProjectConf.php b/src/IDF/Form/ProjectConf.php index 482320e..da41662 100644 --- a/src/IDF/Form/ProjectConf.php +++ b/src/IDF/Form/ProjectConf.php @@ -67,6 +67,7 @@ class IDF_Form_ProjectConf extends Pluf_Form 'move_function_params' => array('upload_path' => $upload_path, 'upload_path_create' => true, + 'upload_overwrite' => true, 'file_name' => $filename, ) ));