fix last commit, invalit conditional due missing parentesis * related to commit 3c9fcc86565c1a074e8be47a83541221154b1a8c
... | ... | @@ -85,8 +85,8 @@ if ( ! function_exists('php_rand')) |
85 | 85 | */
|
86 | 86 | function php_rand($min = NULL, $max = NULL)
|
87 | 87 | {
|
88 | - if(!is_int($min) $min = 0;
|
|
89 | - if(!is_int($max) $max = mt_getrandmax();
|
|
88 | + if(!is_int($min)) $min = 0;
|
|
89 | + if(!is_int($max)) $max = mt_getrandmax();
|
|
90 | 90 | |
91 | 91 | if( is_php('7.1.99') ) return random_int($min, $max);
|
92 | 92 |
—
View it on GitLab.
You're receiving this email because of your account on gitlab.com. Manage all notifications · Help