From ff350307ecca4d31e3aeffb07abe9f56dda0d2d6 Mon Sep 17 00:00:00 2001
From: OnkelTem <OnkelTem@239962.no-reply.drupal.org>
Date: Tue, 9 Oct 2012 20:15:23 +0400
Subject: [PATCH] Issue #649584 by patcon: Partial menu disappearance (cut)
 when "Page compression" is on

---
 admin_menu.module |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/admin_menu.module b/admin_menu.module
index 8db79c2..e11a362 100644
--- a/admin_menu.module
+++ b/admin_menu.module
@@ -410,7 +410,7 @@ function admin_menu_js_cache($hash = NULL) {
   header('Expires: ' . gmdate('D, d M Y H:i:s', time() + $max_age) . ' GMT');
   header('Last-Modified: ' . gmdate('D, d M Y H:i:s', time()) . ' GMT');
   header('Cache-Control: max-age=' . $max_age . ', private');
-  header('Content-Length: ' . drupal_strlen($content));
+  header('Content-Length: ' . strlen($content));
   header('Content-Type: text/html; charset=utf-8');
 
   // Suppress Devel module.
-- 
1.7.9.5

