diff --git a/lam/lib/account.inc b/lam/lib/account.inc index a674d581..f402dcac 100644 --- a/lam/lib/account.inc +++ b/lam/lib/account.inc @@ -464,7 +464,7 @@ function get_preg($argument, $regexp) { break; case 'realname': // Allow all but \, <, >, =, $, ? case 'cn': - $pregexpr = '/^[^\\\<>=\\$\\?]+$/'; + $pregexpr = '/^[^\\\<>=\\$\\?]+(\\$)?$/'; break; case "telephone": // Allow numbers, space, brackets, /-+. $pregexpr = '/^(\\+)*([0-9\\.\\ \\(\\)\\/-])*$/';