From 3a220db36e960c41cf3fc4305dc7da92129f4214 Mon Sep 17 00:00:00 2001 From: Tim Hunt Date: Tue, 3 Aug 2010 13:09:42 +0000 Subject: [PATCH] output lib NOBUG support full-screen pop-ups again - bug fix of previous commit. Sorry. --- lib/outputactions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/outputactions.php b/lib/outputactions.php index 1d808d993eb..6662f43902d 100644 --- a/lib/outputactions.php +++ b/lib/outputactions.php @@ -151,7 +151,7 @@ class popup_action extends component_action { } $attributes = array('url' => $url->out(false), 'name' => $name, 'options' => $this->get_js_options($params)); - if ($params['fullscreen']) { + if (!empty($params['fullscreen'])) { $attributes['fullscreen'] = 1; } parent::__construct($event, $this->jsfunction, $attributes);