Skip to content

Commit d61e758

Browse files
committed
Merge pull request naneau#30 from gburtini/patch-1
Update StringScrambler.php
2 parents 4c17a08 + 13407ee commit d61e758

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Naneau/Obfuscator/StringScrambler.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ public function __construct($salt = null)
3939
$this->setSalt(
4040
md5(microtime(true) . rand(0,1))
4141
);
42+
} else {
43+
$this->setSalt($salt);
4244
}
4345
}
4446

0 commit comments

Comments
 (0)