[No Subject]

Objet:   [No Subject] (trouver plus)
Date:   Dec 09, 2005 05:41

Return-Path: <caché>
Received: from [] by web53704.mail.yahoo.com via HTTP;
 Thu, 08 Dec 2005 20:41:41 PST
Message-ID: <caché>
Date: Thu, 8 Dec 2005 20:41:41 -0800 (PST)
From: "Donald A. Lobo" <caché>
Reply-To: caché,
  "CiviCRM: General discussion around development" <caché>
Sender: caché
To: "CiviCRM: General discussion around development" <caché>
Subject: Re: [Crm-dev] API Problems: crm_get_contact
In-Reply-To: <caché>
Errors-To: caché
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Delivery-Date: Thu, 08 Dec 2005 23:44:15 -0500
X-Forwarded-To: caché
X-Forwarded-For: caché caché
X-Gmail-Received: c0023ea1b8fa0e5b64e1ee678952ecf276244bbc
Delivered-To: caché
Received-SPF: neutral (gmail.com: is neither permitted nor denied by best guess record for domain of caché)
DomainKey-Status: bad (test mode)
Old-Return-Path: <caché>
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com;
X-Mime-Autoconverted: from 8bit to 7bit by courier 0.47
X-BeenThere: caché
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "CiviCRM: General discussion around development"
List-Unsubscribe: <http://lists.objectledge.net/mailman/listinfo/crm-dev&gt;,
List-Archive: <http://lists.caltha.pl/pipermail/crm-dev>
List-Post: <mailto:caché>
List-Help: <mailto:caché?subject=help>
List-Subscribe: <http://lists.objectledge.net/mailman/listinfo/crm-dev&gt;,
Envelope-To: caché

i could not reproduce the issue on 1.2 in my local
development box. here is my unit test:


i'm running php5.0.5 (we'll be upgrading to 5.1 soon).
can u ensure that '$mail' is a valid email address


--- Richard Orris <caché> wrote:

> I'm using 1.2 (rev 3944) and when I do this in
> Drupal:
>    $contact = crm_get_contact(array('email' =>
> $mail));
> It seems to return a random contact record or could
> be iterating  
> through, but does not return anything that has to do
> with the given  
> email address.  I can reproduce it on two sites that
> have been  
> upgraded (code and db) from 1.1.
> Has anyone else experienced this?
> Thanks,
> Rich
> _______________________________________________
> Crm-dev mailing list
> caché

Crm-dev mailing list

Creative Commons License
Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-Share Alike 3.0 United States Licence.