summaryrefslogtreecommitdiff
path: root/includes/common.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2004-01-23 15:31:29 +0000
committerDries Buytaert <dries@buytaert.net>2004-01-23 15:31:29 +0000
commitc6be16d9ad742ed523bbf08020a0dca454e6f901 (patch)
tree921faf2f871d6803e491143af36e1be54510f8ac /includes/common.inc
parent95de30c761115946eb35d65b1aef9bf0d7e33ab0 (diff)
downloadbrdo-c6be16d9ad742ed523bbf08020a0dca454e6f901.tar.gz
brdo-c6be16d9ad742ed523bbf08020a0dca454e6f901.tar.bz2
- Patch #5351 by Kyber: fixed bug in field_get().
Diffstat (limited to 'includes/common.inc')
-rw-r--r--includes/common.inc2
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];
}