From 57093ca0441471acdbe46cbd1edc90171650f673 Mon Sep 17 00:00:00 2001 From: Chris Ruppel Date: Wed, 14 Sep 2011 17:06:05 -0500 Subject: [PATCH] appending filename to path --- modernizr.module | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/modernizr.module b/modernizr.module index 9984a72..4e54ce4 100644 --- a/modernizr.module +++ b/modernizr.module @@ -20,7 +20,7 @@ function modernizr_lib_path() { $path = drupal_get_path('module', 'modernizr'); } - $version_agnostic_path = file_exists($path .'/modernizr.min.js') ? $path : FALSE; + $version_agnostic_path = file_exists($path .'/modernizr.min.js') ? $path .'/modernizr.min.js' : FALSE; if (!$version_agnostic_path) { $path = file_exists($path .'/modernizr.js') ? $path .'/modernizr.js' : FALSE; } -- 1.7.3.4