diff options
Diffstat (limited to 'includes/common.inc')
-rw-r--r-- | includes/common.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/common.inc b/includes/common.inc index 72a5ce667..dfc25c013 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]; } |