[Vtigercrm-commits] [vtiger development] #5430: Impossible to create a task from the calendar view
vtiger development
vtiger-tickets at trac.vtiger.com
Thu Jan 8 10:21:49 EST 2009
#5430: Impossible to create a task from the calendar view
-------------------------+--------------------------------------------------
Reporter: Rami.Addady | Owner: developer
Type: defect | Status: new
Priority: major | Milestone: 5.1.0
Component: vtigercrm | Version: 5.0.4
Keywords: task |
-------------------------+--------------------------------------------------
On some 5.0.4 installations it is impossible to create a task from the
calendar view. From the quick menu it's no problem. The reason is a sql
error: "visibility could not be null".
The problem can be fix by modify this code in
modules/Calendar/TodoSave.php (similar to the Save.php) with adding the
following lines at line 48
...
if(isset($_REQUEST['visibility']) && $_REQUEST['visibility']!= ''){
$focus->column_fields['visibility'] = $_REQUEST['visibility'];
}
else {
$focus->column_fields['visibility'] = 'Private';
}
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/5430>
vtiger development <http://trac.vtiger.com/>
vtigerCRM
More information about the vtigercrm-commits
mailing list