Browse Source

3.next Fix triggerWarning if not exists

Ref: https://github.com/cakephp/cakephp/pull/11313
inoas 8 years ago
parent
commit
db6e7908f6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Core/functions.php

+ 1 - 1
src/Core/functions.php

@@ -249,7 +249,7 @@ if (!function_exists('env')) {
 
 }
 
-if (!function_exists('throwWarning')) {
+if (!function_exists('triggerWarning')) {
     /**
      * Triggers an E_USER_WARNING.
      *