Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

remove default value for debug's first argument

  • Loading branch information...
commit 17be6d04725afcc92d56a51e77e170268886fff9 1 parent 7bf08fd
@dereuromark dereuromark authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Cake/basics.php
View
2  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 = '';
Please sign in to comment.
Something went wrong with that request. Please try again.