From ecd15819788a42f6dfe46949475e45ddb66df436 Mon Sep 17 00:00:00 2001 From: anuko Date: Sun, 7 Jan 2018 23:08:34 +0000 Subject: [PATCH 1/1] Fixed a problem with predefined expenses. --- WEB-INF/lib/form/TextArea.class.php | 3 ++- WEB-INF/templates/footer.tpl | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/WEB-INF/lib/form/TextArea.class.php b/WEB-INF/lib/form/TextArea.class.php index 5d484668..a9c0c800 100644 --- a/WEB-INF/lib/form/TextArea.class.php +++ b/WEB-INF/lib/form/TextArea.class.php @@ -47,7 +47,8 @@ class TextArea extends FormElement { function getHtml() { - if ($this->id=="") $this->id = $this->mName; + if (empty($this->id)) + $this->id = $this->name; $js_maxlen = ""; diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index b2bbbf6d..08f1afa9 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.13.9.3729 | Copyright © Anuko | +  Anuko Time Tracker 1.13.10.3730 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} -- 2.20.1