diff --git a/core/src/Documents/Admin/Api/DocumentTaskCreator.php b/core/src/Documents/Admin/Api/DocumentTaskCreator.php index 0a7724b6..e91ca99e 100644 --- a/core/src/Documents/Admin/Api/DocumentTaskCreator.php +++ b/core/src/Documents/Admin/Api/DocumentTaskCreator.php @@ -45,8 +45,9 @@ class DocumentTaskCreator implements TaskCreator return 0; } - $query - = "select count(id) as c from EmployeeDocuments where employee = ? and valid_until < ? and visible_to = ?"; + $query = "select count(id) as c + from EmployeeDocuments + where employee = ? and valid_until < ? and visible_to = ?"; $user->DB()->SetFetchMode(ADODB_FETCH_ASSOC); // TODO - sending notifications only for Owner documents, this need to be extended later