Update database_transaction_edit.php
This commit is contained in:
parent
e81dd42115
commit
82daa62767
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Reference in New Issue