From b80b45c086da9efcc324afdb884a2291a3ea2a51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Sat, 18 Oct 2014 15:55:10 +0200 Subject: [PATCH] Update card.php --- htdocs/product/card.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/product/card.php b/htdocs/product/card.php index 914ef4c7d8e..cd75ab3e2bb 100644 --- a/htdocs/product/card.php +++ b/htdocs/product/card.php @@ -1421,7 +1421,7 @@ else // Status (to sell) print ''.$langs->trans("Status").' ('.$langs->trans("Sell").')'; if (! empty($conf->use_javascript_ajax) && $user->rights->produit->creer) { - print ajax_productonoff($object, 'status'); + print ajax_object_onoff($object, 'status'); } else { print $object->getLibStatut(2,0); } @@ -1430,7 +1430,7 @@ else // Status (to buy) print ''.$langs->trans("Status").' ('.$langs->trans("Buy").')'; if (! empty($conf->use_javascript_ajax) && $user->rights->produit->creer) { - print ajax_productonoff($object, 'status_buy'); + print ajax_object_onoff($object, 'status_buy'); } else { print $object->getLibStatut(2,1); }