more server check
authorAlan <alan@roojs.com>
Wed, 11 Oct 2023 06:23:05 +0000 (14:23 +0800)
committerAlan <alan@roojs.com>
Wed, 11 Oct 2023 06:23:05 +0000 (14:23 +0800)
Notify.php

index 5a33985..6580087 100644 (file)
@@ -206,7 +206,8 @@ class Pman_Core_Notify extends Pman
             $w->evtype = $this->evtype;
         }
         
-        
+        $w->server_id = $this->server->id;
+
         
         if (!empty($opts['old'])) {
             // show old and new...
@@ -232,7 +233,6 @@ class Pman_Core_Notify extends Pman
             $w->limit($opts['limit']); // we can run 1000 ...
         }
         
-        $w->server_id = $this->server->id;