[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dolibarr-dev] correction OSC - Dolibarr
From: |
jean |
Subject: |
[Dolibarr-dev] correction OSC - Dolibarr |
Date: |
Wed, 10 Oct 2007 08:51:34 +0200 |
User-agent: |
IceDove 1.5.0.12 (X11/20070607) |
Bonjour,
Merci Régis et Laurent pour la réponse rapide sur la gestion des menus.
j'ai mis à jour mes imports CVS
correction d'un bug dans osc_product.class.php
diff -Naur --exclude=CVS --exclude='.#*' --exclude='*~' --exclude=documents
/home/jean/projets/dolidev/sources/dolibarr_devref/dolibarr/htdocs/oscommerce_ws/produits/osc_product.class.php
/home/jean/projets/dolidev/sources/dolibarr/htdocs/oscommerce_ws/produits/osc_product.class.php
---
/home/jean/projets/dolidev/sources/dolibarr_devref/dolibarr/htdocs/oscommerce_ws/produits/osc_product.class.php
2007-10-06 22:16:44.000000000 +0200
+++
/home/jean/projets/dolidev/sources/dolibarr/htdocs/oscommerce_ws/produits/osc_product.class.php
2007-10-10 08:46:36.000000000 +0200
@@ -206,9 +206,7 @@
if ($mycat->fetch_osccat($osccatid) > 0)
{
- $x = $mycat->dolicatid;
- print'<p>'.$x.'</p>';
- return $x ;
+ return $mycat->dolicatid;
}
else return 0;
}
@@ -225,20 +223,6 @@
else return -1;
}
- function get_catid($osccatid)
- {
- require_once("./osc_categories.class.php");
- $mycat=new Osc_categorie($this->db);
-
- if ($mycat->fetch_osccat($osccatid) > 0)
- {
- $x = $mycat->dolicatid;
- print'<p>'.$x.'</p>';
- return $x ;
- }
- else return 0;
-
- }
/**
* \brief création d'un article dans base OSC
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dolibarr-dev] correction OSC - Dolibarr,
jean <=