Changeset 120843 in spip-zone
- Timestamp:
- Jan 27, 2020, 3:42:45 PM (13 months ago)
- Location:
- _plugins_/prix
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/prix
- Property svn:mergeinfo changed
/_plugins_/prix/trunk merged: 119000
- Property svn:mergeinfo changed
-
_plugins_/prix/inc/prix.php
r120842 r120843 21 21 */ 22 22 function inc_prix_ht_dist($objet, $id_objet, $options = array(), $serveur = ''){ 23 include_spip('base/objets'); 23 24 $prix_ht = 0; 24 25 … … 42 43 $objet 43 44 and $id_objet = intval($id_objet) 44 and include_spip('base/connect_sql')45 45 and $objet = objet_type($objet) 46 46 and $table_sql = table_objet_sql($objet, $options['serveur']) … … 101 101 * @return float Retourne le prix TTC de l'objet sinon 0 102 102 */ 103 function inc_prix_dist($objet, $id_objet, $options = array(), $serveur = '') {104 include_spip('base/ connect_sql');103 function inc_prix_dist($objet, $id_objet, $options = array(), $serveur = '') { 104 include_spip('base/objets'); 105 105 106 106 // Compatibilité avec l'ancienne signature
Note: See TracChangeset
for help on using the changeset viewer.