Sergei Dolmatov wrote:

> Well, I vote for mgd_get_person_by_name(string $username).

It's been added.

> Current behavior of mgd_get_person isn't very official (I hope :), and

Official or not, I'd need to know noone is using it or we'll break their
code. The implementation of mgd_get_person has been altered to test if
the string is a number.

> Now we have a lot of strings in place of integers - $article->author by
> example and so on. Rechecking everything where it is important is very
> hard).

get_person is kond of unique since most of the time functions by name or
ID distinguish themselves by the number of parameters. get_person is the
only one that doesn't AFAICT.

Emile



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

Reply via email to