projects
/
fa-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
00afe27
)
Small cleanups in installer.
author
Janusz Dobrowolski
<janusz@frontaccounting.eu>
Wed, 30 Sep 2020 16:33:26 +0000
(18:33 +0200)
committer
Janusz Dobrowolski
<janusz@frontaccounting.eu>
Wed, 30 Sep 2020 21:31:45 +0000
(23:31 +0200)
includes/db/connect_db_mysql.inc
patch
|
blob
|
history
includes/db/connect_db_mysqli.inc
patch
|
blob
|
history
install/isession.inc
patch
|
blob
|
history
install/lang/pl_PL/LC_MESSAGES/pl_PL.mo
patch
|
blob
|
history
install/lang/pl_PL/LC_MESSAGES/pl_PL.po
patch
|
blob
|
history
diff --git
a/includes/db/connect_db_mysql.inc
b/includes/db/connect_db_mysql.inc
index 4be5a295e5481a280d2dd1d6611e18eb4c497de3..8abdaa34f268e4cce6b934213abf645f6c0426ad 100644
(file)
--- a/
includes/db/connect_db_mysql.inc
+++ b/
includes/db/connect_db_mysql.inc
@@
-51,7
+51,7
@@
function db_query($sql, $err_msg=null)
// set current db prefix
$comp = isset($_SESSION["wa_current_user"]->cur_con) ? $_SESSION["wa_current_user"]->cur_con : 0;
// set current db prefix
$comp = isset($_SESSION["wa_current_user"]->cur_con) ? $_SESSION["wa_current_user"]->cur_con : 0;
- $cur_prefix = $db_connections[$comp]['tbpref'];
+ $cur_prefix =
@
$db_connections[$comp]['tbpref'];
$sql = str_replace(TB_PREF, $cur_prefix, $sql);
if ($SysPrefs->show_sql)
$sql = str_replace(TB_PREF, $cur_prefix, $sql);
if ($SysPrefs->show_sql)
diff --git
a/includes/db/connect_db_mysqli.inc
b/includes/db/connect_db_mysqli.inc
index 696fd8285a1646bc49aa406a41ff8ae4e7a32923..87660a4f0e516d4a85ea866ca690d18d918a8b59 100644
(file)
--- a/
includes/db/connect_db_mysqli.inc
+++ b/
includes/db/connect_db_mysqli.inc
@@
-52,7
+52,7
@@
function db_query($sql, $err_msg=null)
// set current db prefix
$comp = isset($_SESSION["wa_current_user"]->cur_con) ? $_SESSION["wa_current_user"]->cur_con : 0;
// set current db prefix
$comp = isset($_SESSION["wa_current_user"]->cur_con) ? $_SESSION["wa_current_user"]->cur_con : 0;
- $cur_prefix = $db_connections[$comp]['tbpref'];
+ $cur_prefix =
@
$db_connections[$comp]['tbpref'];
$sql = str_replace(TB_PREF, $cur_prefix, $sql);
if ($SysPrefs->show_sql)
$sql = str_replace(TB_PREF, $cur_prefix, $sql);
if ($SysPrefs->show_sql)
diff --git
a/install/isession.inc
b/install/isession.inc
index 684bad7b55849ec0f02be93166b6afa1b45a19a1..181324af9288042a7ffedb8f25c33307499a7b9f 100644
(file)
--- a/
install/isession.inc
+++ b/
install/isession.inc
@@
-138,7
+138,7
@@
if (!isset($_SESSION['language']) || !method_exists($_SESSION['language'], 'set_
{
$l = array_search_value($i_lang, $inst_langs, 'code');
$_SESSION['language'] = new language($l['name'], $l['code'], $l['encoding'],
{
$l = array_search_value($i_lang, $inst_langs, 'code');
$_SESSION['language'] = new language($l['name'], $l['code'], $l['encoding'],
- isset($l['rtl']) ? 'rtl' : 'ltr');
+
@
isset($l['rtl']) ? 'rtl' : 'ltr');
}
if (!isset($installed_languages))
}
if (!isset($installed_languages))
diff --git
a/install/lang/pl_PL/LC_MESSAGES/pl_PL.mo
b/install/lang/pl_PL/LC_MESSAGES/pl_PL.mo
index 973ac8e6259205fb5332bd58c398835420581193..312426e4eec84fac10ee7998430d77f7dd9cca7b 100644
(file)
Binary files a/install/lang/pl_PL/LC_MESSAGES/pl_PL.mo and b/install/lang/pl_PL/LC_MESSAGES/pl_PL.mo differ
diff --git
a/install/lang/pl_PL/LC_MESSAGES/pl_PL.po
b/install/lang/pl_PL/LC_MESSAGES/pl_PL.po
index 5d4852099f725a71cf65c1b8613a9ff909696d7d..cba8798b1661681f7f79da42e153270fb1343b9c 100644
(file)
--- a/
install/lang/pl_PL/LC_MESSAGES/pl_PL.po
+++ b/
install/lang/pl_PL/LC_MESSAGES/pl_PL.po
@@
-262,7
+262,7
@@
msgstr "Powt
#: install/index.php:399 install/index.php:400 install/index.php:401
msgid "Select Chart of Accounts:"
#: install/index.php:399 install/index.php:400 install/index.php:401
msgid "Select Chart of Accounts:"
-msgstr "Wybierz Plan
ów
Kont:"
+msgstr "Wybierz Plan Kont:"
#: install/index.php:400 install/index.php:401 install/index.php:402
msgid "Select Default Language:"
#: install/index.php:400 install/index.php:401 install/index.php:402
msgid "Select Default Language:"