projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed logout error when setting show users online.
[fa-stable.git]
/
admin
/
create_coy.php
diff --git
a/admin/create_coy.php
b/admin/create_coy.php
index 6ed2c7743429950a4da971a43db48e5ef5946428..f500feb9cd26b85ca6c17684cf1179286b197bbf 100644
(file)
--- a/
admin/create_coy.php
+++ b/
admin/create_coy.php
@@
-42,7
+42,7
@@
function check_data()
if ($_POST['name'] == "" || $_POST['host'] == "" || $_POST['dbuser'] == "" || $_POST['dbname'] == "")
{
if ($_POST['name'] == "" || $_POST['host'] == "" || $_POST['dbuser'] == "" || $_POST['dbname'] == "")
{
- display_error(_("Database setting are not specified."));
+ display_error(_("Database setting
s
are not specified."));
return false;
}
return false;
}
@@
-284,11
+284,6
@@
function display_company_edit($selected_id)
{
global $def_coy, $db_connections, $tb_pref_counter;
{
global $def_coy, $db_connections, $tb_pref_counter;
- if ($selected_id != -1)
- $n = $selected_id;
- else
- $n = count($db_connections);
-
start_form();
start_table(TABLESTYLE2);
start_form();
start_table(TABLESTYLE2);