mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Update database_transaction_edit.php
This commit is contained in:
@@ -86,11 +86,13 @@
|
||||
}
|
||||
|
||||
//get the type if not provided
|
||||
if (strlen($transaction_old) > 4) {
|
||||
$transaction_type = 'add';
|
||||
}
|
||||
else {
|
||||
$transaction_type = 'update';
|
||||
if (strlen($transaction_type) == 0) {
|
||||
if ($transaction_old == null || $transaction_old == "null") {
|
||||
$transaction_type = 'add';
|
||||
}
|
||||
else {
|
||||
$transaction_type = 'update';
|
||||
}
|
||||
}
|
||||
|
||||
//show the header
|
||||
|
||||
Reference in New Issue
Block a user