Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-core
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-core
Commits
3e12f003
Commit
3e12f003
authored
Aug 14, 2004
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- added a fix if freelancer_list view doesn't exist
parent
152ec595
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
index.tcl
www/users/index.tcl
+7
-0
No files found.
www/users/index.tcl
View file @
3e12f003
...
...
@@ -125,6 +125,13 @@ if {$user_group_id == [im_freelance_group_id]} {
set view_name
"freelancer_list"
}
# temporary fix: Check if the "freelancer_list" view exists
# and revert to "user_list" if not.
if
{
0 ==
[
db_string exists_freelance_list
"select count(*) from im_views where view_name=:view_name"
]}
{
set view_name
"user_list"
}
if
{
[
empty_string_p
$how
_many
]
||
$how
_many < 1
}
{
set how_many
[
ad_parameter -package_id
[
im_package_core_id
]
NumberResultsPerPage intranet 50
]
}
...
...
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