Merge pull request #12 from belomaxorka/fixed-deprecated-method-define_promo

Fixed deprecated in games.php line 374
This commit is contained in:
Sergei 2023-03-05 10:02:07 +03:00 committed by GitHub
commit b61ad3ddef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -371,7 +371,7 @@
return $sum;
}
public static function define_promo($cod, $data = array(), $discount, $sum, $type = 'buy')
public static function define_promo($cod, $data, $discount, $sum, $type = 'buy')
{
global $cfg, $sql, $go, $start_point;