diff --git a/htdocs/boutique/livre/fiche.php b/htdocs/boutique/livre/fiche.php index 895d62359e6..c4c764268e5 100644 --- a/htdocs/boutique/livre/fiche.php +++ b/htdocs/boutique/livre/fiche.php @@ -59,6 +59,12 @@ if ($action == 'delcat') $livre->unlinkcategorie($catid); } +if ($action == 'delauteur' && $auteurid) +{ + $livre = new Livre($db); + $livre->fetch($id); + $livre->auteur_unlink($auteurid); +} if ($action == "status") { @@ -160,17 +166,17 @@ else print '