little fix

This commit is contained in:
Marion Muszynski 2017-07-04 16:04:00 +02:00
parent c0c836cfe1
commit 4435110d9d

View File

@ -1099,7 +1099,6 @@ class AdminPrivateSalesSales extends AdminTab {
if (Sale::getSaleFromCategory(Tools::getValue('id_category'))) {
return false;
}
$sql_position = 'SELECT MAX(position) FROM '. _DB_PREFIX_.'privatesale';
$position = Db::getInstance()->getValue($sql_position);