From 82daa62767e225834eecff1054a83568ab38fc1b Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 13 Feb 2018 09:24:59 -0700 Subject: [PATCH] Update database_transaction_edit.php --- .../database_transaction_edit.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/database_transactions/database_transaction_edit.php b/app/database_transactions/database_transaction_edit.php index 0351f92651..4e9b5167e2 100644 --- a/app/database_transactions/database_transaction_edit.php +++ b/app/database_transactions/database_transaction_edit.php @@ -86,12 +86,12 @@ } //get the type if not provided - //if (strlen($transaction_old) > 4) { - // $transaction_type = 'add'; - //} - //else { - // $transaction_type = 'update'; - //} + if (strlen($transaction_old) > 4) { + $transaction_type = 'add'; + } + else { + $transaction_type = 'update'; + } //show the header require_once "resources/header.php";