31,12 → 31,13 |
|
if ($action == 'modification') { |
$nouveau_nom = $pairs['motcle']; |
$modification = $this->getGestionMotsCles($uid[0])->renommerMotCle($id_mot_cle, $nouveau_nom); |
$modification = $this->getGestionMotsCles($uid[0])->renommerMotCle($id_mot_cle, $nouveau_nom); |
} else if ($action == 'deplacement') { |
$id_pere = $pairs['parent']; |
$modification = $this->getGestionMotsCles($uid[0])->deplacerMotCle($id_mot_cle, $id_pere, $id_utilisateur); |
} |
|
$modification = ($modification !== false); |
if($modification) { |
$this->envoyer("OK"); |
} |