Commit 736a63ef authored by Alex Milkovskyi's avatar Alex Milkovskyi Committed by Hai-Nam Nguyen
Browse files

Issue #2424189 by a.milkovsky: Make scald_render_multiple compatible with Entity API

parent ada9c4cf
Loading
Loading
Loading
Loading
+3 −3
Changes for scald.module: 3 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -1325,13 +1325,13 @@ function scald_render($sid, $context, $options = array(), $rebuild = FALSE) {
 *   the atoms in the choosen context.
 */
function scald_render_multiple($atoms, $context) {
  $output = array();
  $view = array();
  foreach ($atoms as $atom) {
    $output[] = array(
    $view['scald_atom'][$atom->sid] = array(
      '#markup' => scald_render($atom, $context),
    );
  }
  return $output;
  return $view;
}

/**