diff --git a/lib/Cake/View/Helper.php b/lib/Cake/View/Helper.php index f6b17acf5..bb16ec6d5 100644 --- a/lib/Cake/View/Helper.php +++ b/lib/Cake/View/Helper.php @@ -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)); }