Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
vtigercrm
Manage
Activity
Members
Labels
Plan
Issues
516
Issue boards
Milestones
Wiki
Code
Merge requests
83
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
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
Admin message
Welcome to Vtiger Community. To gain access for account, please contact [ community @ vtiger.com ]
Show more breadcrumbs
vtiger
vtigercrm
Commits
6b9414e0
Commit
6b9414e0
authored
7 years ago
by
Satish
Browse files
Options
Downloads
Patches
Plain Diff
Fixes #530 - vt7 - Re-order main menu doesn't work
parent
87e6c5a8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!200
Fixes #529, #530
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/Settings/MenuEditor/actions/SaveAjax.php
+1
-5
1 addition, 5 deletions
modules/Settings/MenuEditor/actions/SaveAjax.php
with
1 addition
and
5 deletions
modules/Settings/MenuEditor/actions/SaveAjax.php
+
1
−
5
View file @
6b9414e0
...
...
@@ -58,11 +58,7 @@ Class Settings_MenuEditor_SaveAjax_Action extends Settings_Vtiger_IndexAjax_View
$db
=
PearDatabase
::
getInstance
();
foreach
(
$moduleSequence
as
$moduleName
=>
$sequence
)
{
$moduleModel
=
Vtiger_Module_Model
::
getInstance
(
$moduleName
);
if
(
$moduleModel
->
get
(
'source'
)
==
'custom'
)
{
$db
->
pquery
(
'UPDATE vtiger_app2tab SET sequence = ?, appname = ? WHERE tabid = ?'
,
array
(
$sequence
,
$appName
,
$moduleModel
->
getId
()));
}
else
{
$db
->
pquery
(
'UPDATE vtiger_app2tab SET sequence = ? WHERE tabid = ? AND appname = ?'
,
array
(
$sequence
,
$moduleModel
->
getId
(),
$appName
));
}
$db
->
pquery
(
'UPDATE vtiger_app2tab SET sequence = ? WHERE tabid = ? AND appname = ?'
,
array
(
$sequence
,
$moduleModel
->
getId
(),
$appName
));
}
$response
=
new
Vtiger_Response
();
...
...
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