253  return theme('legal_display', array('form' => $form));
change
253  $form = theme('legal_display', array('form' => $form));
352  return theme('legal_display', array('form' => $form));
change
352  $form = theme('legal_display', array('form' => $form));

Comments

haggins’s picture

Version: 7.x-1.2 » 7.x-1.x-dev
Status: Active » Needs review
StatusFileSize
new339 bytes

Here's a patch. Please commit as this is necessary if you want to alter changes made by legal module (i.e. changing titles and descriptions).

tikaszvince’s picture

Issue summary: View changes
Status: Needs review » Reviewed & tested by the community

This patch works fine

tikaszvince’s picture

Status: Reviewed & tested by the community » Needs review
StatusFileSize
new567 bytes

I attached a new patch to modify legal_form_user_register_form_alter and legal_form_user_profile_form_alter too on version 7.x-1.5.

tikaszvince’s picture

abarpetia’s picture

Status: Needs review » Reviewed & tested by the community

I can verify #3 patch worked for me. +1 to commit.

  • Robert Castelo committed 0d32188 on 7.x-1.x
    Issue #1551158 by tikaszvince, haggins, eMeLA: hook_form_FORM_ID_alter()
    
robert castelo’s picture

Status: Reviewed & tested by the community » Fixed

Thanks tikaszvince, haggins, eMeLA. Added to dev and will be part of next release (soon).

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.