// Fix update english key of translations in all files
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14143 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -95,7 +95,7 @@ class GetFileControllerCore extends FrontController
|
||||
|
||||
$customer_deadline = strtotime($info['date_expiration']);
|
||||
if ($now > $customer_deadline && $info['date_expiration'] != '0000-00-00 00:00:00')
|
||||
$this->displayCustomError('Expiration date exceeded');
|
||||
$this->displayCustomError('Expiration date has passed, you cannot download this product');
|
||||
|
||||
if ($info['download_nb'] >= $info['nb_downloadable'] && $info['nb_downloadable'])
|
||||
$this->displayCustomError('You have reached the maximum number of allowed downloads.');
|
||||
|
||||
Reference in New Issue
Block a user