Skip to content

Commit

Permalink
Mathematical expression fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Zizaco committed Feb 18, 2013
1 parent a5b340d commit cd3c589
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Zizaco/FactoryMuff/FactoryMuff.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ private function generateAttr( $kind )

// Pick some words
case 'text':
for ( $i=0; $i < ( (int)date( 'U' )+rand(0,5) % 8 ) + 2; $i++ ) {
for ( $i=0; $i < ( ((int)date( 'U' )+rand(0,5)) % 8 ) + 2; $i++ ) {
$result .= array_pop( $this->wordlist )." ";
}

Expand Down

0 comments on commit cd3c589

Please sign in to comment.