projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ccbd032
)
addInlineScript() should use Horde::outputSent()
author
Michael M Slusarz
<slusarz@curecanti.org>
Thu, 29 Jul 2010 21:59:27 +0000
(15:59 -0600)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Thu, 29 Jul 2010 22:15:39 +0000
(16:15 -0600)
framework/Core/lib/Horde.php
patch
|
blob
|
history
diff --git
a/framework/Core/lib/Horde.php
b/framework/Core/lib/Horde.php
index
ca24f39
..
e0aab04
100644
(file)
--- a/
framework/Core/lib/Horde.php
+++ b/
framework/Core/lib/Horde.php
@@
-1832,7
+1832,7
@@
HTML;
// If headers have already been sent, we need to output a
// <script> tag directly.
- if (
ob_get_length() || headers_s
ent()) {
+ if (
self::contentS
ent()) {
self::outputInlineScript();
}
}