diff --git a/pagesnotfound.php b/pagesnotfound.php index 5692a28..c369ada 100644 --- a/pagesnotfound.php +++ b/pagesnotfound.php @@ -200,7 +200,7 @@ public function hookDisplayTop($params) Db::getInstance()->execute( ' INSERT INTO `' . _DB_PREFIX_ . 'pagenotfound` (`request_uri`, `http_referer`, `date_add`, `id_shop`, `id_shop_group`) - VALUES (\'' . pSQL($request_uri) . '\', \'' . pSQL($http_referer) . '\', NOW(), ' . (int) $this->context->shop->id . ', ' . (int) $this->context->shop->id_shop_group . ') + VALUES (\'' . pSQL($request_uri) . '\', \'' . pSQL($http_referer) . '\', \'' . date('Y-m-d H:i:s') . '\', ' . (int) $this->context->shop->id . ', ' . (int) $this->context->shop->id_shop_group . ') ' ); }