Skip to content
This repository
Browse code

remove default value for debug's first argument

  • Loading branch information...
commit 17be6d04725afcc92d56a51e77e170268886fff9 1 parent 7bf08fd
Mark authored October 12, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  lib/Cake/basics.php
2  lib/Cake/basics.php
@@ -75,7 +75,7 @@ function config() {
75 75
  * @link http://book.cakephp.org/2.0/en/development/debugging.html#basic-debugging
76 76
  * @link http://book.cakephp.org/2.0/en/core-libraries/global-constants-and-functions.html#debug
77 77
  */
78  
-	function debug($var = null, $showHtml = null, $showFrom = true) {
  78
+	function debug($var, $showHtml = null, $showFrom = true) {
79 79
 		if (Configure::read('debug') > 0) {
80 80
 			App::uses('Debugger', 'Utility');
81 81
 			$file = '';

0 notes on commit 17be6d0

Please sign in to comment.
Something went wrong with that request. Please try again.