Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-gantt-editor
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
project-open
intranet-gantt-editor
Commits
7b3216e4
Commit
7b3216e4
authored
Sep 02, 2015
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Gantt Editor:
Fixed syntax error in check if the project is a Gantt project
parent
ce0e7430
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
intranet-gantt-editor-procs.tcl
tcl/intranet-gantt-editor-procs.tcl
+1
-1
No files found.
tcl/intranet-gantt-editor-procs.tcl
View file @
7b3216e4
...
...
@@ -17,7 +17,7 @@ ad_proc -public gantt_editor_portlet {
}
{
# Only show for GanttProjects
if
{[
im_security_alert_check_integer -location
"im_ganttproject_gantt_component"
-value
$project
_id
]}
{
return
""
}
set project_type_id
[
util_memoize
[
list
db_string project_type
"select project_type_id from im_projects where project_id =
$project
_id"
-default
""
]
set project_type_id
[
util_memoize
[
list
db_string project_type
"select project_type_id from im_projects where project_id =
$project
_id"
-default
""
]
]
if
{
!
[
im_category_is_a
$project
_type_id
[
im_project_type_gantt
]]}
{
return
""
}
# Sencha check and permissions
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment