diff options
author | Andreas Gohr <andi@splitbrain.org> | 2005-10-21 23:23:04 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2005-10-21 23:23:04 +0200 |
commit | 42905504e134d999710eacf73253844e85cf6fec (patch) | |
tree | adc7d8e56058fb2b5c2b8ec45eb758a4bf701495 /inc/auth.php | |
parent | bc228f156741b7e3e76517034e52463eb7d73fc2 (diff) | |
download | rpg-42905504e134d999710eacf73253844e85cf6fec.tar.gz rpg-42905504e134d999710eacf73253844e85cf6fec.tar.bz2 |
some fixes for getID and the detail page
darcs-hash:20051021212304-7ad00-f01b3954b6b71ecc9e0cf899ed62bfb33e0c437e.gz
Diffstat (limited to 'inc/auth.php')
-rw-r--r-- | inc/auth.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/auth.php b/inc/auth.php index 4db852d5c..76ce525cf 100644 --- a/inc/auth.php +++ b/inc/auth.php @@ -310,7 +310,7 @@ function auth_aclcheck($id,$user,$groups){ } //check exact match first - $matches = preg_grep('/^'.$id.'\s+('.$regexp.')\s+/',$AUTH_ACL); + $matches = preg_grep('/^'.preg_quote($id,'/').'\s+('.$regexp.')\s+/',$AUTH_ACL); if(count($matches)){ foreach($matches as $match){ $match = preg_replace('/#.*$/','',$match); //ignore comments |