Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F117759327
D542.1775211172.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
708 B
Referenced Files
None
Subscribers
None
D542.1775211172.diff
View Options
diff --git a/lib/kolab_client_output.php b/lib/kolab_client_output.php
--- a/lib/kolab_client_output.php
+++ b/lib/kolab_client_output.php
@@ -145,7 +145,7 @@
$this->tpl->assign($name, $value);
}
- $script = '';
+ $script = array();
if (!empty($this->env)) {
$script[] = 'kadm.env = ' . json_encode($this->env) . ';';
@@ -171,7 +171,7 @@
}
$this->tpl->assign('skin_path', 'skins/' . $this->skin . '/');
- if ($script) {
+ if (!empty($script)) {
$script = "<script type=\"text/javascript\">\n" . implode("\n", $script) . "\n</script>";
$this->tpl->assign('script', $script);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Apr 3, 10:12 AM (15 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18811014
Default Alt Text
D542.1775211172.diff (708 B)
Attached To
Mode
D542: fix issue with PHP 7.1
Attached
Detach File
Event Timeline