diff --git a/htdocs/boutique/livre/livre.class.php b/htdocs/boutique/livre/livre.class.php index 5e53cc3b45d..e17be5612fb 100644 --- a/htdocs/boutique/livre/livre.class.php +++ b/htdocs/boutique/livre/livre.class.php @@ -307,7 +307,7 @@ class Livre { * * */ - Function updateosc() + Function updateosc($noupdate_other=0) { $desc = trim(addslashes($this->description)); $desc .= "
"; @@ -343,6 +343,13 @@ class Livre { { if ($lakey <> $this->oscid) { + if (!$noupdate_other) + { + $lix = new Livre($this->db); + $lix->fetch(0, $lakey); + $lix->updateosc(1); + } + $desc .= ''.addslashes($lavalue) . " "; } }