Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-5283

switching 'mailto' off in Views email field creates fatal error = patch supplied

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 2.2.5
    • Fix Version/s: 2.2.10
    • Labels:
      None

      Description

      see http://forum.civicrm.org/index.php/topic,10501.msg45061.html#msg45061

      Fatal error: Call to undefined method civicrm_handler_field_email::render_link() in /home/www-home/wwoof/drupal-6.13/sites/all/modules/civicrm/drupal/modules/views/civicrm/civicrm_handler_field_email.inc on line 38

      needed to add a render_link method - hope this is close to what you require to patch

      — civicrm_handler_field_email.inc-new 2009-10-26 14:49:59.000000000 +1300
      +++ civicrm_handler_field_email.inc 2009-10-26 14:47:13.000000000 +1300
      @@ -37,5 +37,9 @@ class civicrm_handler_field_email extend
          }
          return $this->render_link(check_plain($values->{$this->field_alias}), $values);
        }
      +
      +  function render_link($input, $values)

      { +    return $input; +  }

      }
      ?>

        Attachments

          Activity

            People

            • Assignee:
              kurund Kurund Jalmi
              Reporter:
              peterd peter davis
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: