Update fichinterrec.class.php

This commit is contained in:
Frédéric FRANCE 2019-10-02 09:11:46 +02:00 committed by GitHub
parent 802236f583
commit a1107bdcfa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -563,7 +563,7 @@ class FichinterRec extends Fichinter
if ($user->rights->fichinter->creer) {
$sql = "UPDATE ".MAIN_DB_PREFIX."fichinter_rec ";
$sql .= " SET frequency='".$this->db->escape($freq)."'";
$sql .= ", last_gen='".$this->db-escape($courant)."'";
$sql .= ", last_gen='".$this->db->escape($courant)."'";
$sql .= " WHERE rowid = ".$this->id;
$resql = $this->db->query($sql);