Add some code tidying f35c960196

This commit is contained in:
John Crisp
2020-02-27 18:44:01 +01:00
parent e79c928e81
commit a6928e3771
3 changed files with 15 additions and 15 deletions

View File

@@ -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";
}