diff options
Diffstat (limited to 'engine/lib/elgglib.php')
-rw-r--r-- | engine/lib/elgglib.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php index 9c071f497..eb4cd97df 100644 --- a/engine/lib/elgglib.php +++ b/engine/lib/elgglib.php @@ -116,6 +116,9 @@ $vars['page_owner_user'] = $usercache[$vars['page_owner']];
}
}
+ if (!isset($vars['js'])) {
+ $vars['js'] = "";
+ }
// If it's been requested, pass off to a template handler instead
if ($bypass == false && isset($CONFIG->template_handler) && !empty($CONFIG->template_handler)) {
|