projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee561f9
)
DataObjects/Core_person.php
author
Alan
<alan@roojs.com>
Wed, 28 Jun 2023 04:41:03 +0000
(12:41 +0800)
committer
Alan
<alan@roojs.com>
Wed, 28 Jun 2023 04:41:03 +0000
(12:41 +0800)
DataObjects/Core_person.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_person.php
b/DataObjects/Core_person.php
index
05dbd5c
..
d892a6a
100644
(file)
--- a/
DataObjects/Core_person.php
+++ b/
DataObjects/Core_person.php
@@
-1445,6
+1445,10
@@
class Pman_Core_DataObjects_Core_person extends DB_DataObject
function beforeInsert($req, $roo)
{
+ if (!empty($req['_bulk_update_passwords'])) {
+ $this->bulkUpdatePasswords($req['_bulk_update_passwords'], $roo)
+ }
+
$p = DB_DataObject::factory('core_person');
if ($roo->authUser->id > -1 || $p->count() > 1) {
$pp = DB_DataObject::factory('core_person');