mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
parent
f926ae7637
commit
66b296527f
1 changed files with 1 additions and 1 deletions
|
@ -691,7 +691,7 @@ class Helper extends Object {
|
|||
$data = $this->request->data;
|
||||
|
||||
$entity = $this->entity();
|
||||
if (!empty($data) && !empty($entity)) {
|
||||
if (!empty($data) && is_array($data) && !empty($entity)) {
|
||||
$result = Hash::get($data, implode('.', $entity));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue