projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
544d193
)
DataObjects/Core_person.php
author
benny
<benny@roojs.com>
Tue, 31 Jul 2018 06:44:09 +0000
(14:44 +0800)
committer
benny
<benny@roojs.com>
Tue, 31 Jul 2018 06:44:09 +0000
(14:44 +0800)
DataObjects/Core_person.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_person.php
b/DataObjects/Core_person.php
index
d3c95b6
..
a8505fe
100644
(file)
--- a/
DataObjects/Core_person.php
+++ b/
DataObjects/Core_person.php
@@
-1120,7
+1120,7
@@
class Pman_Core_DataObjects_Core_person extends DB_DataObject
$mem = $p->fetchAll(); // fetch all the rows and set the $mem variable to the rows data, just like mysqli_fetch_assoc
$e->logDeletedRecord($p);
-
+
foreach($mem as $p) {
$p->delete();
}