projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
625e43f
)
DataObjects/Core_person.php
author
john
<john@roojs.com>
Wed, 10 Oct 2018 04:32:32 +0000
(12:32 +0800)
committer
john
<john@roojs.com>
Wed, 10 Oct 2018 04:32:32 +0000
(12:32 +0800)
DataObjects/Core_person.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_person.php
b/DataObjects/Core_person.php
index
830717a
..
c722fcc
100644
(file)
--- a/
DataObjects/Core_person.php
+++ b/
DataObjects/Core_person.php
@@
-530,6
+530,10
@@
class Pman_Core_DataObjects_Core_person extends DB_DataObject
{
require_once 'System.php';
+ if(empty($this->id)) {
+ return false;
+ }
+
$oathtool = System::which('oathtool');
if (!$oathtool) {