diff --git a/vtlib/Vtiger/Profile.php b/vtlib/Vtiger/Profile.php index b0888d895db5937d31e27384849ed3c75fa09968..1389b54e20ba833662ccf1e8bff61b40cf1a6281 100644 --- a/vtlib/Vtiger/Profile.php +++ b/vtlib/Vtiger/Profile.php @@ -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);