Skip to content

Commit

Permalink
Update for compatibility with PHP 5.3.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexweissman committed May 9, 2014
1 parent bad8b8d commit d43922d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/funcs.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ function generateActivationToken($gen = null)
function generateHash($plainText, $encdata = false){

/*used for standard implementation of bcrypt*/
$options = ['cost' => 12];
$options = array("cost" => 12 );

/*used for manual implementation of bcrypt*/
$cost = '12';
Expand Down

0 comments on commit d43922d

Please sign in to comment.