Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
ISPConfig 3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Helmo
ISPConfig 3
Commits
51bedadf
Commit
51bedadf
authored
15 years ago
by
tbrehm
Browse files
Options
Downloads
Patches
Plain Diff
Fixed: FS#948 - Help Module bug, Client cannot read the messages sended by Admin
parent
8ee18071
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
interface/web/help/support_message_edit.php
+11
-0
11 additions, 0 deletions
interface/web/help/support_message_edit.php
interface/web/help/support_message_list.php
+1
-1
1 addition, 1 deletion
interface/web/help/support_message_list.php
with
12 additions
and
1 deletion
interface/web/help/support_message_edit.php
+
11
−
0
View file @
51bedadf
...
@@ -49,6 +49,17 @@ class page_action extends tform_actions {
...
@@ -49,6 +49,17 @@ class page_action extends tform_actions {
//* call the onShow function of the parent class
//* call the onShow function of the parent class
parent
::
onShow
();
parent
::
onShow
();
}
}
function
onAfterInsert
()
{
global
$app
,
$conf
;
if
(
$_SESSION
[
's'
][
'user'
][
'typ'
]
==
'admin'
)
{
$app
->
db
->
query
(
"UPDATE support_message SET sys_userid = "
.
$this
->
dataRecord
[
'recipient_id'
]
.
" WHERE support_message_id = "
.
$this
->
id
);
}
}
}
}
//* Create the new page object
//* Create the new page object
...
...
This diff is collapsed.
Click to expand it.
interface/web/help/support_message_list.php
+
1
−
1
View file @
51bedadf
...
@@ -12,7 +12,7 @@ $app->auth->check_module_permissions('help');
...
@@ -12,7 +12,7 @@ $app->auth->check_module_permissions('help');
$app
->
uses
(
'listform_actions'
);
$app
->
uses
(
'listform_actions'
);
//* Optional limit
//* Optional limit
//
$app->listform_actions->SQLExtWhere = "
type = 'alias'"
;
$app
->
listform_actions
->
SQLExtWhere
=
"
recipient_id = "
.
$_SESSION
[
's'
][
'user'
][
'userid'
]
;
//* Start the form rendering and action ahndling
//* Start the form rendering and action ahndling
$app
->
listform_actions
->
onLoad
();
$app
->
listform_actions
->
onLoad
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment