aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/longtext.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/input/longtext.php')
-rw-r--r--views/default/input/longtext.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/views/default/input/longtext.php b/views/default/input/longtext.php
index 328eb8f78..e1bc235e3 100644
--- a/views/default/input/longtext.php
+++ b/views/default/input/longtext.php
@@ -26,6 +26,10 @@ if (isset($vars['disabled'])) {
$disabled = $vars['disabled'];
}
+if (!isset($vars['value']) || $vars['value'] === FALSE) {
+ $vars['value'] = elgg_get_sticky_value($vars['internalname']);
+}
+
$value = '';
if (isset($vars['value'])) {
$value = $vars['value'];