From c341f8278dc9936ac2cb039699a3b0f7a242ccb4 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Tue, 13 Apr 2010 18:39:16 +0200 Subject: [PATCH] Revert broken logic. --- framework/Core/lib/Horde/Script/Files.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/Core/lib/Horde/Script/Files.php b/framework/Core/lib/Horde/Script/Files.php index 276a625c5..ef7110c35 100644 --- a/framework/Core/lib/Horde/Script/Files.php +++ b/framework/Core/lib/Horde/Script/Files.php @@ -42,7 +42,7 @@ class Horde_Script_Files public function add($file, $app = null, $direct = false, $full = false) { if (($this->_add($file, $app, $direct, $full) === false) || - !(ob_get_length() && headers_sent())) { + (!ob_get_length() && !headers_sent())) { return; } -- 2.11.0