diff --git a/vtlib/Vtiger/Profile.php b/vtlib/Vtiger/Profile.php
index 456bfd724ffd78ddca084dbe484649fa871449a7..b0888d895db5937d31e27384849ed3c75fa09968 100644
--- a/vtlib/Vtiger/Profile.php
+++ b/vtlib/Vtiger/Profile.php
@@ -127,8 +127,7 @@ class Vtiger_Profile {
 		global $adb;
 
 		$actionids = Array();
-		$result = $adb->pquery("SELECT actionid from vtiger_actionmapping WHERE actionname IN 
-			(?,?,?,?,?)", array('Save','EditView','CreateView','Delete','index','DetailView'));
+		$result = $adb->pquery("SELECT actionid from vtiger_actionmapping WHERE actionname IN (?,?,?,?,?,?)", array('Save','EditView','CreateView','Delete','index','DetailView'));
 		/* 
 		 * NOTE: Other actionname (actionid >= 5) is considered as utility (tools) for a profile.
 		 * Gather all the actionid for associating to profile.