Commit 08d6fa34 authored by Florian Azizian's avatar Florian Azizian

FIX delete notification without sh

parent b46e310d
......@@ -280,7 +280,7 @@ class NotificationController
if (!Validator::length(1, 254)->notEmpty()->validate($aArgs['description'])) {
$errors[] = 'wrong format for description';
if (!Validator::length(0, 254)->validate($dataArgsa['event_id'])) {
if (!Validator::length(0, 254)->validate($aArgs['event_id'])) {
$errors[] = 'event_id is too long';
if (!Validator::length(0, 30)->validate($aArgs['notification_mode'])) {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment