Add some code tidying f35c960196
This commit is contained in:
@@ -305,9 +305,9 @@ function CAdb_in($email="", $name="") {
|
||||
$email = escshellcmd($email);
|
||||
$name = escshellcmd($name);
|
||||
$regexp = "^[V].*CN=$name/(Email|emailAddress)=$email";
|
||||
$x =exec('egrep '.escshellarg($regexp).' '.$config[index]);
|
||||
$x =exec('egrep '.escshellarg($regexp).' '.$config['index']);
|
||||
|
||||
if ($x) {
|
||||
if ($x) {
|
||||
list($j,$j,$j,$serial,$j,$j) = explode("\t", $x);
|
||||
return "$serial";
|
||||
}
|
||||
|
Reference in New Issue
Block a user