From 17be6d04725afcc92d56a51e77e170268886fff9 Mon Sep 17 00:00:00 2001 From: euromark Date: Fri, 12 Oct 2012 16:14:17 +0200 Subject: [PATCH] remove default value for debug's first argument --- lib/Cake/basics.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Cake/basics.php b/lib/Cake/basics.php index acbb44696..b48105341 100644 --- a/lib/Cake/basics.php +++ b/lib/Cake/basics.php @@ -75,7 +75,7 @@ if (!function_exists('debug')) { * @link http://book.cakephp.org/2.0/en/development/debugging.html#basic-debugging * @link http://book.cakephp.org/2.0/en/core-libraries/global-constants-and-functions.html#debug */ - function debug($var = null, $showHtml = null, $showFrom = true) { + function debug($var, $showHtml = null, $showFrom = true) { if (Configure::read('debug') > 0) { App::uses('Debugger', 'Utility'); $file = '';