From 77d4320b17d7fce82faf3607763cbf5559c09cd2 Mon Sep 17 00:00:00 2001
From: Lars Toomre <ltoomre@23809.no-reply.drupal.org>
Date: Wed, 23 Nov 2011 07:51:32 -0500
Subject: [PATCH] Issue 1350416 by Lars Toomre: Correction of a couple of
 warnings in boost module.

---
 boost.module |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/boost.module b/boost.module
index f5deb63..4376f13 100644
--- a/boost.module
+++ b/boost.module
@@ -2637,7 +2637,7 @@ function boost_get_http_status() {
 }
 
 function boost_headers_contain($text) {
-  if (function_exists(headers_list)) {
+  if (function_exists('headers_list')) {
     $list = headers_list();
     if (empty($list)) {
       return FALSE;
@@ -5203,7 +5203,7 @@ function _boost_get_menu_router($path = NULL, $get_array = NULL, $reset = FALSE)
   $menu_args = arg(NULL, $router_item['path']);
   $diff = array();
   foreach ($args as $key => $value) {
-    if (!empty($value) && $value !== $menu_args[$key] && $menu_args[$key] !== '%') {
+    if (!empty($value) && isset($menu_args[$key]) && $value !== $menu_args[$key] && $menu_args[$key] !== '%') {
       $diff[] = $value;
     }
   }
-- 
1.7.6.msysgit.0

