X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=functions%2Fabook_local_file.php;h=22a7932b6b275b574c8e933637aa8e9a9b0b4776;hp=f72796b496dfb2edb5ea7e12d9ad0a5eda463152;hb=bf55ebab05a152f1f21ed28451429365378ad67f;hpb=503c7650d1e4178c3c7888d95dcae3777a93861e diff --git a/functions/abook_local_file.php b/functions/abook_local_file.php index f72796b4..22a7932b 100644 --- a/functions/abook_local_file.php +++ b/functions/abook_local_file.php @@ -324,6 +324,10 @@ class abook_local_file extends addressbook_backend { * of the SM_ABOOK_FIELD_* constants * defined in include/constants.php * (OPTIONAL; defaults to nickname field) + * NOTE: uniqueness is only guaranteed + * when the nickname field is used here; + * otherwise, the first matching address + * is returned. * * @return array Array with lookup results when the value * was found, an empty array if the value was