// littlefix on ProductDownload
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11269 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -96,10 +96,11 @@ class ProductDownloadCore extends ObjectModel
|
|||||||
*/
|
*/
|
||||||
public function getFields()
|
public function getFields()
|
||||||
{
|
{
|
||||||
if (!$this->date_expiration)
|
$fields = parent::getFields();
|
||||||
$this->date_expiration = '0000-00-00 00:00:00';
|
if (!$fields['date_expiration'])
|
||||||
|
$fields['date_expiration'] = '0000-00-00 00:00:00';
|
||||||
|
|
||||||
return parent::getFields();
|
return $fields;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function add($autodate = true, $nullValues = false)
|
public function add($autodate = true, $nullValues = false)
|
||||||
|
|||||||
Reference in New Issue
Block a user