diff options
Diffstat (limited to 'mod/directory.php')
-rw-r--r-- | mod/directory.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/directory.php b/mod/directory.php index 01cb1a3ff..703c08ce1 100644 --- a/mod/directory.php +++ b/mod/directory.php @@ -4,11 +4,12 @@ function directory_init(&$a) { } function directory_content(&$a) { + $o = ''; $o .= '<script> $(document).ready(function() { $(\'#nav-directory-link\').addClass(\'nav-selected\'); });</script>'; $search = ((x($_GET,'search')) ? notags(trim($_GET['search'])) : ''); - $tpl .= load_view_file('view/directory_header.tpl'); + $tpl = load_view_file('view/directory_header.tpl'); $globaldir = ''; $gdirpath = dirname(get_config('system','directory_submit_url')); |