]> git.agnieray.net Git - galette.git/commitdiff
Unset tmp_path when just loading a Mailing from history
authorJohan Cwiklinski <johan@x-tnd.be>
Sun, 10 Nov 2013 09:36:29 +0000 (10:36 +0100)
committerJohan Cwiklinski <johan@x-tnd.be>
Sun, 10 Nov 2013 09:36:29 +0000 (10:36 +0100)
galette/lib/Galette/Core/Mailing.php

index 1a18cda441f54b3003855c12afcc4e879f482a53..0e4a5d39c12a83bfba7719b90cc7ab9b38b07b29 100644 (file)
@@ -161,6 +161,7 @@ class Mailing extends GaletteMail
             $this->_generateNewId();
             $this->_copyAttachments($rs->mailing_id);
         } else {
+            $this->_tmp_path = null;
             $this->_id = $rs->mailing_id;
             $this->_loadAttachments();
             $this->_history_id = $rs->mailing_id;