Skip to content

Commit

Permalink
Update ConnectDB_mysql.inc
Browse files Browse the repository at this point in the history
  • Loading branch information
TurboPT authored Mar 1, 2018
1 parent 909af54 commit 92f72c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions includes/ConnectDB_mysql.inc
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ if(!$db) {
if(isset($DatabaseName)) {
if(! mysql_select_db($_SESSION['DatabaseName'],$db)) {
echo '<br />' . _('The company name entered does not correspond to a database on the database server specified in the config.php configuration file. Try logging in with a different company name');
echo '<br /><a href="index.php">' . _('Back to login page') . '</A>';
echo '<br /><a href="index.php">' . _('Back to login page') . '</a>';
unset($_SESSION['DatabaseName']);
exit;
}
} else {
if(! mysql_select_db($_SESSION['DatabaseName'],$db)) {
echo '<br />' . _('The company name entered does not correspond to a database on the database server specified in the config.php configuration file. Try logging in with a different company name');
echo '<br /><a href="index.php">' . _('Back to login page') . '</A>';
echo '<br /><a href="index.php">' . _('Back to login page') . '</a>';
unset($_SESSION['DatabaseName']);
exit;
}
Expand Down

0 comments on commit 92f72c7

Please sign in to comment.