[Git][codeigniterpower/codeigniterpower][master] fix last commit, invalit conditional due missing parentesis

0 views
Skip to first unread message

Герхард PICCORO Lenz McKAY (@mckaygerhard)

unread,
Jun 12, 2024, 12:15:41 PMJun 12
to venenux...@googlegroups.com

Герхард PICCORO Lenz McKAY pushed to branch master at codeigniterpower / codeigniterpower

Commits:

  • 903a7f25
    by mckaygerhard at 2024-06-12T11:00:06-04:00
    fix last commit, invalit conditional due missing parentesis
    
    * related to commit 3c9fcc86565c1a074e8be47a83541221154b1a8c
    

1 changed file:

Changes:

  • appsys/core/Common.php
    ... ... @@ -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

Reply all
Reply to author
Forward
0 new messages