From c6be16d9ad742ed523bbf08020a0dca454e6f901 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 23 Jan 2004 15:31:29 +0000 Subject: - Patch #5351 by Kyber: fixed bug in field_get(). --- includes/common.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/common.inc') 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]; } -- cgit v1.2.3