From 57f09b0821eca4b68c214d3b75750bf127ac9b10 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Tue, 13 Sep 2016 12:08:47 +0300 Subject: [PATCH] Don't show expense categories in history --- app/Libraries/HistoryUtils.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Libraries/HistoryUtils.php b/app/Libraries/HistoryUtils.php index 7acb395e6d5d..8c4266a2e076 100644 --- a/app/Libraries/HistoryUtils.php +++ b/app/Libraries/HistoryUtils.php @@ -62,7 +62,8 @@ class HistoryUtils { if ($entity->isEntityType(ENTITY_CREDIT) || $entity->isEntityType(ENTITY_PAYMENT) - || $entity->isEntityType(ENTITY_VENDOR)) { + || $entity->isEntityType(ENTITY_VENDOR) + || $entity->isEntityType(ENTITY_EXPENSE_CATEGORY)) { return; }