mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Merging fixes and enhancements into trunk
Revision: [1903] Fixing changes made in [1897] git-svn-id: https://svn.cakephp.org/repo/trunk/cake@1904 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
018538cee2
commit
caba653885
4 changed files with 4 additions and 4 deletions
|
@ -6,4 +6,4 @@
|
|||
// +---------------------------------------------------------------------------------------------------+ //
|
||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
0.10.8.1902 RC 4
|
||||
0.10.8.1904 RC 4
|
|
@ -835,7 +835,7 @@ function countdim($array)
|
|||
{
|
||||
if (is_array(reset($array)))
|
||||
{
|
||||
$return = $countdim(reset($array)) + 1;
|
||||
$return = countdim(reset($array)) + 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -733,7 +733,7 @@ class Model extends Object
|
|||
{
|
||||
if ($data)
|
||||
{
|
||||
if ($this->countdim($data) == 1)
|
||||
if (countdim($data) == 1)
|
||||
{
|
||||
$this->set(array($this->name => $data));
|
||||
}
|
||||
|
|
|
@ -730,7 +730,7 @@ class Model extends Object
|
|||
{
|
||||
if ($data)
|
||||
{
|
||||
if ($this->countdim($data) == 1)
|
||||
if (countdim($data) == 1)
|
||||
{
|
||||
$this->set(array($this->name => $data));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue