From 5182ab646532ead6d8ff17c4e30241d90cd5f7b7 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Wed, 26 Aug 2015 16:57:22 +0000 Subject: [PATCH] --- lam/lib/config.inc | 3 +++ lam/templates/login.php | 1 + 2 files changed, 4 insertions(+) diff --git a/lam/lib/config.inc b/lam/lib/config.inc index 9bb3ad41..8870a9cd 100644 --- a/lam/lib/config.inc +++ b/lam/lib/config.inc @@ -1690,6 +1690,9 @@ class LAMConfig { * @return String $jobsDatabase database type */ public function getJobsDatabase() { + if (empty($this->jobsDatabase)) { + return 'SQLite'; + } return $this->jobsDatabase; } diff --git a/lam/templates/login.php b/lam/templates/login.php index d5d2a5c5..c480c1a4 100644 --- a/lam/templates/login.php +++ b/lam/templates/login.php @@ -419,6 +419,7 @@ function display_LoginPage($config_object, $cfgMain) { $table->addElement($rememberLabel); $table->addElement($gap); $rememberGroup = new htmlGroup(); + $rememberGroup->alignment = htmlElement::ALIGN_LEFT; $doRemember = false; if (isset($_COOKIE["lam_login_name"])) { $doRemember = true;