X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=NotifySend.php;h=0f3c0871044e05b203a12986b21d80ea33ad3ed6;hb=6f7f328d7ac5aee73289925656a2e3a1eb7d63bd;hp=91bdc7edfdf57d438dfab0579637003c62d51a35;hpb=f17ae9e206c7151909370602ecb03de5e7945c69;p=Pman.Core diff --git a/NotifySend.php b/NotifySend.php index 91bdc7ed..0f3c0871 100644 --- a/NotifySend.php +++ b/NotifySend.php @@ -109,11 +109,12 @@ class Pman_Core_NotifySend extends Pman $this->errorHandler("already sent - repeat to early\n"); } - $this->server = DB_DataObject::Factory('core_notify_server')->getCurrent($this); - if (!$force && $w->server_id != $this->server->id) { + $this->server = DB_DataObject::Factory('core_notify_server')->getCurrent($this, $force); + if (!$force && $w->server_id != $this->server->id) { $this->errorHandler("Server id does not match - use force to try again\n"); } + if (!empty($opts['debug'])) { print_r($w); $ff = HTML_FlexyFramework::get();