diff --git a/lib/Minify/DebugDetector.php b/lib/Minify/DebugDetector.php index 44e4eb8..99b6d3c 100644 --- a/lib/Minify/DebugDetector.php +++ b/lib/Minify/DebugDetector.php @@ -9,7 +9,7 @@ class Minify_DebugDetector { public static function shouldDebugRequest(Minify_Env $env) { - if ($env->get('debug')) { + if ($env->get('debug') !== null) { return true; } $cookieValue = $env->cookie('minifyDebug');