diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-01-23 15:31:29 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-01-23 15:31:29 +0000 |
commit | c6be16d9ad742ed523bbf08020a0dca454e6f901 (patch) | |
tree | 921faf2f871d6803e491143af36e1be54510f8ac /includes | |
parent | 95de30c761115946eb35d65b1aef9bf0d7e33ab0 (diff) | |
download | brdo-c6be16d9ad742ed523bbf08020a0dca454e6f901.tar.gz brdo-c6be16d9ad742ed523bbf08020a0dca454e6f901.tar.bz2 |
- Patch #5351 by Kyber: fixed bug in field_get().
Diffstat (limited to 'includes')
-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]; } |