diff --git a/admin/manage_users.php b/admin/manage_users.php
index 676ed631..07a7b555 100644
--- a/admin/manage_users.php
+++ b/admin/manage_users.php
@@ -277,11 +277,11 @@ if ($action = hesk_REQUEST('a')) {
/* To edit yourself go to "Profile" page, not here. */
if ($myuser['id'] == $_SESSION['id']) {
- $edit_code = '';
+ $edit_code = '';
} elseif ($myuser['id'] == 1) {
$edit_code = ' ';
} else {
- $edit_code = '';
+ $edit_code = '';
}
if ($myuser['isadmin']) {
@@ -535,7 +535,6 @@ function new_user()
`notify_note`,
`notify_note_unassigned`,
`notify_overdue_unassigned`,
- `autorefresh`,
`permission_template`,
`default_calendar_view`) VALUES (
'" . hesk_dbEscape($myuser['user']) . "',
@@ -562,7 +561,6 @@ function new_user()
'" . ($myuser['notify_note']) . "',
'" . ($myuser['notify_note_unassigned']) . "',
'" . ($myuser['notify_overdue_unassigned']) . "',
- " . intval($myuser['autorefresh']) . ",
" . intval($myuser['template']) . ",
" . intval($myuser['default_calendar_view']) . ")");
@@ -689,7 +687,6 @@ function update_user()
`notify_note`='" . ($myuser['notify_note']) . "',
`notify_note_unassigned`='" . ($myuser['notify_note_unassigned']) . "',
`notify_overdue_unassigned`='" . ($myuser['notify_overdue_unassigned']) . "',
- `autorefresh`=" . intval($myuser['autorefresh']) . ",
`permission_template`=" . intval($myuser['template']) . ",
`default_calendar_view`=" . intval($myuser['default_calendar_view']) . "
WHERE `id`='" . intval($myuser['id']) . "'");
@@ -785,7 +782,6 @@ function hesk_validateUserInfo($pass_required = 1, $redirect_to = './manage_user
if ($myuser['afterreply'] != 1 && $myuser['afterreply'] != 2) {
$myuser['afterreply'] = 0;
}
- $myuser['autorefresh'] = intval(hesk_POST('autorefresh'));
// Defaults
$myuser['autostart'] = isset($_POST['autostart']) ? 1 : 0;
diff --git a/inc/profile_functions.inc.php b/inc/profile_functions.inc.php
index 1fefd2a9..ded81bee 100644
--- a/inc/profile_functions.inc.php
+++ b/inc/profile_functions.inc.php
@@ -316,12 +316,14 @@ function hesk_profile_tab($session_array = 'new', $is_profile_page = true, $acti
}
}
?>
-
-
-
+