Skip to content
Snippets Groups Projects
Commit a8b92096 authored by Satish's avatar Satish
Browse files

Fixes #410 - Create module using vtlib in all Profiles the "Create" option is disabled by default.

parent 90d23b9b
No related branches found
No related tags found
No related merge requests found
......@@ -52,7 +52,7 @@ class Vtiger_Profile {
$sql = "INSERT INTO vtiger_profile2standardpermissions (profileid, tabid, Operation, permissions)
SELECT ?, tabid, actionid, 0
FROM vtiger_actionmapping, vtiger_tab
WHERE actionname IN ('Save', 'EditView', 'Delete', 'index', 'DetailView') AND isentitytype = 1";
WHERE actionname IN ('Save', 'CreateView', 'EditView', 'Delete', 'index', 'DetailView') AND isentitytype = 1";
$binds = array($this->id);
$adb->pquery($sql, $binds);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment