diff --git a/itoggle.module b/itoggle.module
index cd6acb4..7dada71 100644
--- a/itoggle.module
+++ b/itoggle.module
@@ -227,7 +227,7 @@ function itoggle_include_itoggle($settings = TRUE) {
       }
     }
 
-    if ($type = variable_get('itoggle_compression_type', 'min')) {
+    if (($type = variable_get('itoggle_compression_type', 'min')) == 'min') {
       $filename .= '.min';
     }
 
