* and inetOrgPerson (RFC2798) objects and dn, description, sn, givenname,
* cn, mail attributes. Other attributes are ignored.
*
- * @copyright 1999-2012 The SquirrelMail Project Team
+ * @copyright 1999-2015 The SquirrelMail Project Team
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
* @package squirrelmail
function lookup($value, $field=SM_ABOOK_FIELD_NICKNAME) {
- $attr = $this->get_attr_name($field);
+ $attr = get_attr_name($field);
if ($attr == 'ERROR') {
return $this->set_error(sprintf(_("Unknown field name: %s"), $field));
}