Sergei Dolmatov wrote:

> > I am experiencing strange problems with the mgd_get_person()
> > function. The function _sometimes_ fails and returns the error
> > "Object does not exist" with no good reason at all:
>
> Check type of variable that you pass in mgd_get_person() function by
> gettype($var).
> It may be "string", even if you see only number in it. In this case
> mgd_get_person() tried to find person record by its name.
>
> Emile, may be more useful would be make usual
> mgd_get_person_by_name()? :)

Oy, I hadn't though of this. I'll think of a way to fix this, or make
two functions.

Emile



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to