summaryrefslogtreecommitdiff
path: root/modules/notification/helpers/notification_event.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/notification/helpers/notification_event.php')
-rw-r--r--modules/notification/helpers/notification_event.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/notification/helpers/notification_event.php b/modules/notification/helpers/notification_event.php
index 3fccdfbe..1568b854 100644
--- a/modules/notification/helpers/notification_event.php
+++ b/modules/notification/helpers/notification_event.php
@@ -23,7 +23,11 @@ class notification_event_Core {
}
static function item_created($item) {
- notification::send_item_add($item);
+ $batch_id = Session::instance()->get("batch_id");
+ if (!batch::in_progress("add") {
+ notification::send_item_add($item);
+ } else {
+ }
}
static function item_before_delete($item) {