From 9abdbed035de336d6ed263a9b070835b86478bea Mon Sep 17 00:00:00 2001 From: Alan Date: Wed, 9 Aug 2023 17:49:33 +0800 Subject: [PATCH] add evtype --- Notify.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Notify.php b/Notify.php index eacdb56a..d1920fc9 100644 --- a/Notify.php +++ b/Notify.php @@ -192,6 +192,11 @@ class Pman_Core_Notify extends Pman } $w->server_id = array_search(gethostname(),array_keys($ff->Core_Notify['servers'])); } + if (!empty($this->evtype)) { + $w->evtype = $this->evtype; + } + + if (!empty($opts['old'])) { // show old and new... @@ -217,9 +222,6 @@ class Pman_Core_Notify extends Pman $w->limit($opts['limit']); // we can run 1000 ... } - if (!empty($this->evtype)) { - $w->evtype = $this->evtype; - } -- 2.39.2