aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/hidden.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-06 03:47:24 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-06 03:47:24 +0000
commit0b7ddb28c68a94403847ddaab460e395f09b9677 (patch)
treece39e9396a9150bc35a61b6d75405cedde56abfc /views/default/input/hidden.php
parenta7e426447b6d544b85acb7218e4dfb84de5ce36f (diff)
downloadelgg-0b7ddb28c68a94403847ddaab460e395f09b9677.tar.gz
elgg-0b7ddb28c68a94403847ddaab460e395f09b9677.tar.bz2
Fixes #2510 sticky forms is finish - Elgg 1.9 could have a ElggForm class that makes it even easier to use a sticky form
git-svn-id: http://code.elgg.org/elgg/trunk@8042 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/input/hidden.php')
-rw-r--r--views/default/input/hidden.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/views/default/input/hidden.php b/views/default/input/hidden.php
index a5fb01e73..a201289b7 100644
--- a/views/default/input/hidden.php
+++ b/views/default/input/hidden.php
@@ -13,9 +13,5 @@
*
*/
-if (!isset($vars['value']) || $vars['value'] === FALSE) {
- $vars['value'] = elgg_get_sticky_value($vars['internalname']);
-}
-
?>
<input type="hidden" <?php echo $vars['js']; ?> name="<?php echo $vars['internalname']; ?>" <?php if (isset($vars['internalid'])) echo "id=\"{$vars['internalid']}\""; ?> value="<?php echo htmlentities($vars['value'], ENT_QUOTES, 'UTF-8'); ?>" /> \ No newline at end of file