diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-19 16:31:17 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-19 16:31:17 +0000 |
commit | 1e0dc4108f3beedd548febd4aec2e42db8014e70 (patch) | |
tree | 5613584e34a7796121a6e0bbc424b205d6ecc2fc /views/default/input/longtext.php | |
parent | eb1c935addf3c3c58e97ea4e4f4760098e8ca036 (diff) | |
download | elgg-1e0dc4108f3beedd548febd4aec2e42db8014e70.tar.gz elgg-1e0dc4108f3beedd548febd4aec2e42db8014e70.tar.bz2 |
added a work around for injecting internal* variables to handle deprecation code - this prevents warnings from being emitted for no reason
git-svn-id: http://code.elgg.org/elgg/trunk@8329 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/input/longtext.php')
-rw-r--r-- | views/default/input/longtext.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/views/default/input/longtext.php b/views/default/input/longtext.php index 43534eec7..ada419f13 100644 --- a/views/default/input/longtext.php +++ b/views/default/input/longtext.php @@ -14,6 +14,10 @@ $defaults = array( 'class' => 'elgg-input-longtext', ); +// work around for deprecation code in elgg_views() +unset($vars['internalname']); +unset($vars['internalid']); + $vars = array_merge($defaults, $vars); echo elgg_view('input/plaintext', $vars); |