aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles/subsilver2/template/memberlist_search.html
diff options
context:
space:
mode:
authorIgor Wiedler <igor@wiedler.ch>2012-07-20 23:53:11 +0200
committerIgor Wiedler <igor@wiedler.ch>2012-07-21 00:12:37 +0200
commitca43a8947a67642f6d1f211f1f5e030b2526ebe2 (patch)
treeb85344974864f4cdcd053bf79bcdec6bcf50dd43 /phpBB/styles/subsilver2/template/memberlist_search.html
parent841ea0e494504400c798faa6cc860dd1179e1004 (diff)
downloadforums-ca43a8947a67642f6d1f211f1f5e030b2526ebe2.tar
forums-ca43a8947a67642f6d1f211f1f5e030b2526ebe2.tar.gz
forums-ca43a8947a67642f6d1f211f1f5e030b2526ebe2.tar.bz2
forums-ca43a8947a67642f6d1f211f1f5e030b2526ebe2.tar.xz
forums-ca43a8947a67642f6d1f211f1f5e030b2526ebe2.zip
[ticket/11008] Remove eval() calls to get document[id]
PHPBB3-11008
Diffstat (limited to 'phpBB/styles/subsilver2/template/memberlist_search.html')
-rw-r--r--phpBB/styles/subsilver2/template/memberlist_search.html6
1 files changed, 1 insertions, 5 deletions
diff --git a/phpBB/styles/subsilver2/template/memberlist_search.html b/phpBB/styles/subsilver2/template/memberlist_search.html
index 96ffad00d6..ab1ecca2ee 100644
--- a/phpBB/styles/subsilver2/template/memberlist_search.html
+++ b/phpBB/styles/subsilver2/template/memberlist_search.html
@@ -43,11 +43,7 @@
*/
function marklist(id, name, state)
{
- var parent = document.getElementById(id);
- if (!parent)
- {
- eval('parent = document.' + id);
- }
+ var parent = document.getElementById(id) || document[id];
if (!parent)
{