diff --git a/htdocs/telephonie/communication.class.php b/htdocs/telephonie/communication.class.php index 4b5d57325d3..c73dc42d4d5 100644 --- a/htdocs/telephonie/communication.class.php +++ b/htdocs/telephonie/communication.class.php @@ -125,8 +125,8 @@ class CommunicationTelephonique { } /* - * Enregistre la ligne de communications dans llx_telephonie_communications_details - * + * Enregistre la ligne de communications dans + * llx_telephonie_communications_details * */ @@ -174,7 +174,9 @@ class CommunicationTelephonique { } } - + /* + * + */ function _log( $text) { @@ -184,10 +186,13 @@ class CommunicationTelephonique { } } + /* + * + */ + function loghtml($file) { $this->file_details = $file; - $this->_log( ''); $this->_log( "$this->index"); diff --git a/htdocs/telephonie/facturetel.class.php b/htdocs/telephonie/facturetel.class.php index a5fc69f9075..955b09bebf5 100644 --- a/htdocs/telephonie/facturetel.class.php +++ b/htdocs/telephonie/facturetel.class.php @@ -22,7 +22,6 @@ class FactureTel { var $db; - var $id; function FactureTel($DB, $id=0) @@ -86,8 +85,8 @@ class FactureTel { $sql = "UPDATE ".MAIN_DB_PREFIX."telephonie_facture"; $sql .= " SET "; - $sql .= " fk_facture = $facid "; - $sql .= " WHERE rowid = $this->id"; + $sql .= " fk_facture = ".$facid ; + $sql .= " WHERE rowid = ".$this->id; if ( $this->db->query($sql) ) { @@ -101,7 +100,9 @@ class FactureTel { } } - + /* + * + */ function get_comm_min_date($date) { @@ -124,6 +125,10 @@ class FactureTel { } + /* + * + */ + function get_comm_max_date($date) { $sql = "SELECT ".$this->db->pdate("max(date)"); @@ -142,9 +147,6 @@ class FactureTel { return $row[0]; } } - } - } - ?>