mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
remove default value for debug's first argument
This commit is contained in:
parent
7bf08fdcc7
commit
17be6d0472
1 changed files with 1 additions and 1 deletions
|
@ -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 = '';
|
||||
|
|
Loading…
Reference in a new issue