DataObjects/Companies.php
authorChris <chris@roojs.com>
Fri, 19 Apr 2013 09:18:01 +0000 (17:18 +0800)
committerChris <chris@roojs.com>
Fri, 19 Apr 2013 09:18:01 +0000 (17:18 +0800)
DataObjects/Companies.php

index 1b3a92c..2b4856e 100644 (file)
@@ -104,7 +104,7 @@ class Pman_Core_DataObjects_Companies extends DB_DataObject
     
     function updated_dt($format)
     {
-        return ($this->when_dt) ? date($format, strtotime($this->when_dt)) : null;
+        return ($this->updated_dt) ? date($format, strtotime($this->updated_dt)) : null;
     }
     
     function toEventString() {