Commit e941b168 authored by catch's avatar catch
Browse files

Issue #1831202 by yched: Fixed wrong param for field_read_field().

parent b51ca447
......@@ -274,7 +274,7 @@ public function getField($field_name) {
// Do not check the (large) persistent cache, but read the definition.
// Cache miss: read from definition.
if ($field = field_read_field(array('field_name' => $field_name))) {
if ($field = field_read_field($field_name)) {
$field = $this->prepareField($field);
// Save in the "static" cache.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment