From eb9fbb7934ccb48482ee06401a5c325e7690136e Mon Sep 17 00:00:00 2001
From: Jesse Beach <splendidnoise@gmail.com>
Date: Tue, 12 Apr 2011 16:08:13 -0400
Subject: [PATCH] 1125220 - changed path_to_theme to drupal_get_path to correct incorrect path reference to a child theme's directory, rather than Seven's directory.

---
 themes/seven/template.php |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/themes/seven/template.php b/themes/seven/template.php
index 5be459b..4e1c414 100644
--- a/themes/seven/template.php
+++ b/themes/seven/template.php
@@ -17,9 +17,9 @@ function seven_preprocess_maintenance_page(&$vars) {
  */
 function seven_preprocess_html(&$vars) {
   // Add conditional CSS for IE8 and below.
-  drupal_add_css(path_to_theme() . '/ie.css', array('group' => CSS_THEME, 'browsers' => array('IE' => 'lte IE 8', '!IE' => FALSE), 'preprocess' => FALSE));
+  drupal_add_css(drupal_get_path('theme', 'seven') . '/ie.css', array('group' => CSS_THEME, 'browsers' => array('IE' => 'lte IE 8', '!IE' => FALSE), 'preprocess' => FALSE));
   // Add conditional CSS for IE6.
-  drupal_add_css(path_to_theme() . '/ie6.css', array('group' => CSS_THEME, 'browsers' => array('IE' => 'lt IE 7', '!IE' => FALSE), 'preprocess' => FALSE));
+  drupal_add_css(drupal_get_path('theme', 'seven') . '/ie6.css', array('group' => CSS_THEME, 'browsers' => array('IE' => 'lt IE 7', '!IE' => FALSE), 'preprocess' => FALSE));
 }
 
 /**
-- 
1.7.3.4

