projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
196a72d
)
temporary fix to server routing
author
Alan
<alan@roojs.com>
Wed, 13 Sep 2023 09:55:57 +0000
(17:55 +0800)
committer
Alan
<alan@roojs.com>
Wed, 13 Sep 2023 09:55:57 +0000
(17:55 +0800)
DataObjects/Core_notify.php
patch
|
blob
|
history
NotifySend.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_notify.php
b/DataObjects/Core_notify.php
index
91cc0a1
..
8c0e628
100644
(file)
--- a/
DataObjects/Core_notify.php
+++ b/
DataObjects/Core_notify.php
@@
-44,7
+44,7
@@
class Pman_Core_DataObjects_Core_notify extends DB_DataObject
public $act_start;
public $person_table;
public $to_email;
-
+
/* the code above is auto generated do not remove the tag below */
###END_AUTOCODE
diff --git
a/NotifySend.php
b/NotifySend.php
index
f554bf3
..
07c1e9f
100644
(file)
--- a/
NotifySend.php
+++ b/
NotifySend.php
@@
-710,6
+710,10
@@
class Pman_Core_NotifySend extends Pman
if (empty($ff->Core_Notify['servers'])) {
return;
}
+ // some classes dont support server routing
+ if (!property_exists($w, 'server_id')) {
+ return;
+ }
// next server..
$w->server_id = ($w->server_id + 1) % count(array_keys($ff->Core_Notify['servers']));