remove default value for debug's first argument

This commit is contained in:
euromark 2012-10-12 16:14:17 +02:00
parent 7bf08fdcc7
commit 17be6d0472

View file

@ -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 = '';