DataObjects/Core_notify_recur.php
authorAlan Knowles <alan@roojs.com>
Wed, 14 Nov 2012 06:55:10 +0000 (14:55 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 14 Nov 2012 06:55:10 +0000 (14:55 +0800)
DataObjects/Core_notify_recur.php

index 39fb063..2a88752 100644 (file)
@@ -143,6 +143,11 @@ class Pman_Core_DataObjects_Core_notify_recur extends DB_DataObject
            
             if (isset($old[$time])) {
                 // we already have it...
+                
+                $oo = clone($old[$time]);
+                $oo->evtype = $this->method()->name;
+                $oo->update($old[$time]);
+                
                 unset($old[$time]);
                 continue;
             }