Skip to content

Commit

Permalink
Merge pull request pyrocms#1758 from RyanThompson/patch-4
Browse files Browse the repository at this point in the history
Have to use $stream_fields here.
  • Loading branch information
adamfairholm committed Sep 17, 2012
2 parents b2c9858 + 186af9e commit 085145d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions system/cms/modules/streams_core/models/row_m.php
Original file line number Diff line number Diff line change
Expand Up @@ -899,12 +899,12 @@ public function format_row($row, $stream_fields, $stream, $return_object = true,
if ($return_object)
{
$row->$row_slug = $this->format_column($row_slug,
$row->$row_slug, $row->id, $this->all_fields[$row_slug]['field_type'], $this->all_fields[$row_slug]['field_data'], $stream, $plugin_call);
$row->$row_slug, $row->id, $stream_fields->$row_slug->field_type, $stream_fields->$row_slug->field_data, $stream, $plugin_call);
}
else
{
$row[$row_slug] = $this->format_column($row_slug,
$row[$row_slug], $row['id'], $this->all_fields[$row_slug]['field_type'], $this->all_fields[$row_slug]['field_data'], $stream, $plugin_call);
$row[$row_slug], $row['id'], $stream_fields->$row_slug->field_type, $stream_fields->$row_slug->field_data, $stream, $plugin_call);
}
}
}
Expand Down

0 comments on commit 085145d

Please sign in to comment.