Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion class/actions_cdav.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ public function formObjectOptions($parameters, &$object, &$action)
// echo "formObjectOptions action: ";
// print_r($action);

if ($parameters['currentcontext'] == 'projecttaskscard' && $parameters['id'] > 0) {
if ($parameters['currentcontext'] == 'projecttaskscard' && ! empty($parameters['id'])) {
$sql = 'SELECT pt.rowid, us.color, us.login, us.firstname, us.lastname
FROM ' . MAIN_DB_PREFIX . 'projet_task AS pt
LEFT JOIN ' . MAIN_DB_PREFIX . 'element_contact as ec ON (ec.element_id=pt.rowid)
Expand Down
2 changes: 2 additions & 0 deletions core/modules/modCDav.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ function __construct($db)
$this->name = preg_replace('/^mod/i','',get_class($this));
// Module description, used if translation string 'ModuleXXXDesc' not found (where XXX is value of numeric property 'numero' of module)
$this->description = "Allows caldav and carddav clients to sync with Dolibarr.";
$this->editor_name = 'BEFOX SARL';
$this->editor_url = 'https://befox.fr/';
// Possible values for version are: 'development', 'experimental', 'dolibarr' or version
$this->version = '3.1.3';
// Key used in llx_const table to save module status enabled/disabled (where CDAV is value of property name of module in uppercase)
Expand Down