mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-08 04:22:40 +00:00
"Removing all shortcut function usage from the core"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6128 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
5adbf2d75b
commit
8a2b51c3ec
50 changed files with 252 additions and 252 deletions
|
@ -78,7 +78,7 @@ class Set extends Object {
|
|||
|
||||
if (is_a($this, 'set')) {
|
||||
$backtrace = debug_backtrace();
|
||||
$previousCall = low($backtrace[1]['class'].'::'.$backtrace[1]['function']);
|
||||
$previousCall = strtolower($backtrace[1]['class'].'::'.$backtrace[1]['function']);
|
||||
if ($previousCall != 'set::merge') {
|
||||
$r =& $this->value;
|
||||
array_unshift($args, null);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue