diff --git a/plugins/gofon/macro/class_gofonMacroManagement.inc b/plugins/gofon/macro/class_gofonMacroManagement.inc
index 685bf968b0496501c3aabaa0d72ef7edac17d123..f3b873fb5d7f682391e988880fd9ef964b241c27 100755 (executable)
}
/* User wants to edit data? */
- if ((isset($_POST['select_app']) || (isset($_POST['edit_helper']) && $_POST['edit_helper'] == "1")) && isset($_POST['applist']) && $_POST['applist'] != ""){
+ if ((isset($_POST['select_app']) || (isset($_POST['edit_helper']) && $_POST['edit_helper'] == "1")) && isset($_POST['macrolists']) && $_POST['macrolists'] != ""){
- /* Get 'dn' from posted 'applist', must be unique */
- $this->dn= trim($_POST['applist']);
+ /* Get 'dn' from posted 'macrolists', must be unique */
+ $this->dn= trim($_POST['macrolists']);
/* Check locking, save current plugin in 'back_plugin', so
the dialog knows where to return. */
}
/* Remove user was requested */
- if (isset($_POST['delete_app']) && isset($_POST['applist'])){
+ if (isset($_POST['delete_app']) && isset($_POST['macrolists'])){
/* Get 'dn' from posted 'uid' */
- $this->dn= trim($_POST['applist']);
+ $this->dn= trim($_POST['macrolists']);
/* Load permissions for selected 'dn' and check if
we're allowed to remove this 'dn' */