From 0b466c0892233268e6d5e3283fbd025c8445ea4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elan=20Ruusam=C3=A4e?= Date: Fri, 22 Jan 2016 09:05:49 +0200 Subject: [PATCH] fix debugdetector current docs say append '&debug' to url, therefore 'debug' parameter has no value. --- lib/Minify/DebugDetector.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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');