Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dolibarr
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor 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
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
53453a63
Commit
53453a63
authored
10 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
Fix: pb when posting page due to apache limit
parent
79ac620a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
htdocs/admin/const.php
+1
-2
1 addition, 2 deletions
htdocs/admin/const.php
with
1 addition
and
2 deletions
htdocs/admin/const.php
+
1
−
2
View file @
53453a63
...
...
@@ -230,7 +230,7 @@ $sql.= ", entity";
$sql
.
=
" FROM "
.
MAIN_DB_PREFIX
.
"const"
;
$sql
.
=
" WHERE entity IN ("
.
$user
->
entity
.
","
.
$conf
->
entity
.
")"
;
if
(
empty
(
$user
->
entity
)
&&
$debug
)
{}
// to force for superadmin
else
if
(
$user
->
entity
||
empty
(
$conf
->
multicompany
->
enabled
))
$sql
.
=
" AND visible = 1"
;
else
$sql
.
=
" AND visible = 1"
;
// We must always have this. Otherwise, array is too large and submitting data fails due to apache POST or GET limits
$sql
.
=
" ORDER BY entity, name ASC"
;
dol_syslog
(
"Const::listConstant"
,
LOG_DEBUG
);
...
...
@@ -280,7 +280,6 @@ if ($result)
if
(
$conf
->
use_javascript_ajax
)
{
print
'<input type="checkbox" class="flat checkboxfordelete" id="check_'
.
$i
.
'" name="const['
.
$i
.
'][check]" value="1">'
;
print
' '
;
}
else
{
...
...
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