Add contact/batch route

This commit is contained in:
Philipp Holzer
2019-05-07 21:15:22 +02:00
parent 3785c6de05
commit 9ff0d56e03
2 changed files with 4 additions and 1 deletions

View File

@@ -177,11 +177,13 @@ class Contact extends BaseModule
return;
}
// @TODO: Replace with parameter from router
if ($a->argv[1] === 'batch') {
self::batchActions($a);
return;
}
// @TODO: Replace with parameter from router
$contact_id = intval($a->argv[1]);
if (!$contact_id) {
return;