projects
/
fa-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c1ca6e
)
Fixed buggy prefix in sql query in 2.1 upgrade class.
author
Janusz Dobrowolski
<janusz@frontaccounting.eu>
Tue, 17 Jan 2017 10:47:56 +0000
(11:47 +0100)
committer
Janusz Dobrowolski
<janusz@frontaccounting.eu>
Sat, 18 Mar 2017 14:58:02 +0000
(15:58 +0100)
sql/alter2.1.php
patch
|
blob
|
history
diff --git
a/sql/alter2.1.php
b/sql/alter2.1.php
index a70f15a32b9a566a889bc3b6e69dc80a6b719532..6d2e767bf1eab3dae2ab76758bc88e8bae74f361 100644
(file)
--- a/
sql/alter2.1.php
+++ b/
sql/alter2.1.php
@@
-70,7
+70,7
@@
class fa2_1 extends fa_patch {
}
// remove obsolete bank_trans_types table
// (DROP queries are skipped during non-forced upgrade)
- $sql = "DROP TABLE IF EXISTS `
0_
bank_trans_types`";
+ $sql = "DROP TABLE IF EXISTS `
".TB_PREF."
bank_trans_types`";
db_query($sql);
//
// Move all debtor and supplier trans tax details to new table