From 07970f36e35b87ad89b8b6011ed5a04c4a3022f9 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Sun, 29 Oct 2017 11:32:50 +0400 Subject: Processor additional field --- classes/handler.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/classes/handler.php b/classes/handler.php index 6ed9da7..b1ae2dc 100644 --- a/classes/handler.php +++ b/classes/handler.php @@ -86,6 +86,10 @@ class handler { $data["token"] = $callback->token; } + if (!empty($callback->other)) { + $data["extra"] = $callback->other; + } + self::send($data, $callback); } } -- cgit v1.2.3