CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Street Parsing....CiviCRM 3.2.2 treats the word "STREET" as a unit.
Pages: [1]

Author Topic: Street Parsing....CiviCRM 3.2.2 treats the word "STREET" as a unit.  (Read 432 times)

SweetTooth

  • I post occasionally
  • **
  • Posts: 70
  • Karma: 1
  • CiviCRM version: 4.1
  • CMS version: Drupal 6.20
  • MySQL version: 5.1.54
  • PHP version: 5.2.17
Street Parsing....CiviCRM 3.2.2 treats the word "STREET" as a unit.
February 15, 2011, 06:04:56 am

How do I change this?

I have changed /CRM/core/BAO/Address.php to say:

$streetUnitFormats = array( 'FLAT', 'APARTMENT', 'SUITE', 'UNIT' );

Yet when I edit an address with the word "Street" in it, it will still strip out street and put it into a unit.

It has not done this on previous versions and I upgrade on a regular basis to avoid security problems.

It's pointless me searching for the word "street" in any coding, as it's used all over the place.

Does anybody know if "street" is somehow hardcoded? It appears to be and I don't want it in there because the word "Street" is being stripped out of the header of my canvass sheets and is running down the sheet as a Unit.


SweetTooth

  • I post occasionally
  • **
  • Posts: 70
  • Karma: 1
  • CiviCRM version: 4.1
  • CMS version: Drupal 6.20
  • MySQL version: 5.1.54
  • PHP version: 5.2.17
[SOLVED]Re: Street Parsing....CiviCRM 3.2.2 treats the word "STREET" as a unit.
February 15, 2011, 07:38:43 am

Solved....too embarassed to even talk about it! I thought the file had been edited when it hadn't....

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Street Parsing....CiviCRM 3.2.2 treats the word "STREET" as a unit.

This forum was archived on 2017-11-26.