Skip to content
Permalink
Browse files

remove default value for debug's first argument

  • Loading branch information...
dereuromark committed Oct 12, 2012
1 parent 7bf08fd commit 17be6d04725afcc92d56a51e77e170268886fff9
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/basics.php
@@ -75,7 +75,7 @@ function config() {
* @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 = '';

0 comments on commit 17be6d0

Please sign in to comment.
You can’t perform that action at this time.