Skip to content

Commit

Permalink
Merge pull request #2 from ConConovaloff/fix_array_to_string
Browse files Browse the repository at this point in the history
fix "Array to string conversion"
  • Loading branch information
Boy Baukema committed Sep 29, 2015
2 parents 11598cf + e53cf13 commit 0ffad57
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Janus/OpenSsl/Certificate.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ public function getIssuerDn()
{
$dnParts = array();
foreach ($this->_parsed['issuer'] as $key => $value) {
if (is_array($value)) {
$value = implode("\n", $value);
}
$dnParts []= "/$key=$value";
}

Expand Down

0 comments on commit 0ffad57

Please sign in to comment.