Overview
Comment: | Wrong parameter passed |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | stable |
Files: | files | file ages | folders |
SHA3-256: |
fb14e69d65042b1830ed4e16cc7ba464 |
User & Date: | bohwaz on 2021-11-08 18:46:25 |
Other Links: | manifest | tags |
Context
2021-11-08
| ||
18:48 | Filter out non-existing accounts check-in: 13291dda1d user: bohwaz tags: trunk, stable | |
18:46 | Wrong parameter passed check-in: fb14e69d65 user: bohwaz tags: trunk, stable | |
18:44 | Fix typo check-in: d480bec1eb user: bohwaz tags: trunk, stable | |
Changes
Modified src/www/admin/acc/transactions/new.php from [b9f3447f1f] to [fefbff2207].
︙ | ︙ | |||
25 26 27 28 29 30 31 | $types_accounts = null; $id_analytical = null; // Duplicate transaction if (qg('copy')) { $old = Transactions::get((int)qg('copy')); $transaction = $old->duplicate($current_year); | | | 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | $types_accounts = null; $id_analytical = null; // Duplicate transaction if (qg('copy')) { $old = Transactions::get((int)qg('copy')); $transaction = $old->duplicate($current_year); $lines = $transaction->getLinesWithAccounts(true); $payoff_for = null; $id_analytical = $old->getAnalyticalId(); $amount = $transaction->getLinesCreditSum(); $types_accounts = $transaction->getTypesAccounts(); $transaction->resetLines(); foreach ($lines as $k => &$line) { |
︙ | ︙ |