index c5698ae514aab1c42f76fc7b826da51fd40ff936..f7e784d5f6c5484640b9aa5f7f663a91c83b252e 100755 (executable)
}
}
}
}
- function isvalid($returnstr = false)
+ function isvalid()
{
{
- if(($this->type != false)&&(count($this->info)>1))
- {
- if($returnstr){
- return(_("valid"));
- }else{
- return(true);
- }
- }else{
- if($returnstr){
- return(_("invalid"));
- }else{
- return(false);
- }
-
- }
+ return (($this->type != false)&&(count($this->info)>1));
}
}
-
/* Export Certificate to specified file, with specified method*/
/* Export Certificate to specified file, with specified method*/