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";