summaryrefslogtreecommitdiff
path: root/src/web/helper/lang.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/web/helper/lang.php (renamed from web/helper/lang.php)2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/helper/lang.php b/src/web/helper/lang.php
index 96944da..48acba9 100644
--- a/web/helper/lang.php
+++ b/src/web/helper/lang.php
@@ -69,7 +69,7 @@ function ilang($key,
}
echo '>' . $text . '</span>';
}
- if ($click) {
+ if ($click || $button) {
echo '</button>';
} else {
echo '</a>';