diff --git a/includes/common.inc b/includes/common.inc index 72a5ce667736d3d76ce151f5e863721bc9e6837c..dfc25c01382629d3b0c0ccff9db6ac5402fc4730 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -1054,7 +1054,7 @@ function l($text, $url, $attributes = array(), $query = NULL, $fragment = NULL) } function field_get($string, $name) { - ereg(",?$name=([^,]+)", ", $string", $regs); + ereg(",$name=([^,]+)", ",$string", $regs); return $regs[1]; }