diff --git a/VERSION.txt b/VERSION.txt index a8be8febb..ccce41e6e 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -6,4 +6,4 @@ // +---------------------------------------------------------------------------------------------------+ // /////////////////////////////////////////////////////////////////////////////////////////////////////////// -0.10.8.1902 RC 4 \ No newline at end of file +0.10.8.1904 RC 4 \ No newline at end of file diff --git a/cake/basics.php b/cake/basics.php index aa709e0d4..bbb2d4ab7 100644 --- a/cake/basics.php +++ b/cake/basics.php @@ -835,7 +835,7 @@ function countdim($array) { if (is_array(reset($array))) { - $return = $countdim(reset($array)) + 1; + $return = countdim(reset($array)) + 1; } else { diff --git a/cake/libs/model/model_php4.php b/cake/libs/model/model_php4.php index 084ca9be2..ecd45964f 100644 --- a/cake/libs/model/model_php4.php +++ b/cake/libs/model/model_php4.php @@ -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)); } diff --git a/cake/libs/model/model_php5.php b/cake/libs/model/model_php5.php index 71839d9f7..d66e5293d 100644 --- a/cake/libs/model/model_php5.php +++ b/cake/libs/model/model_php5.php @@ -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)); }