// added pack.tpl in AdminProductsController

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11301 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
lLefevre
2011-12-16 13:57:27 +00:00
parent e390031c83
commit 00b878d868
7 changed files with 495 additions and 589 deletions
@@ -3727,7 +3727,7 @@ class AdminProductsControllerCore extends AdminController
Pack::deleteItems($product->id);
// lines format: QTY x ID-QTY x ID
if (Tools::getValue('ppack'))
if (Tools::getValue('type_product') == 1)
{
$items = Tools::getValue('inputPackItems');
$lines = array_unique(explode('-', $items));