DataObjects/Core_person.php wip_alan_T6504_scss_output_in_assets
authorAlan Knowles <alan@roojs.com>
Thu, 17 Dec 2020 06:58:39 +0000 (14:58 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 17 Dec 2020 06:58:39 +0000 (14:58 +0800)
DataObjects/Core_person.php

index 030c595..b45eef4 100644 (file)
@@ -578,7 +578,7 @@ class Pman_Core_DataObjects_Core_person extends DB_DataObject
         $u->get($id);
         $url = implode("/", $bits);
         if ($time < time()) {
-            return false;
+            return "Expired";
         }
         //echo serialize(array('/'.$url, $time, $u->email, $u->passwd));
         //echo hash('sha256', serialize(array('/'.$url, $time, $u->email, $u->passwd)));