Fix: bad parameter
This commit is contained in:
parent
31a96aa4c6
commit
e76b5a370d
@ -47,7 +47,7 @@ $usergroup = GETPOST("usergroup","int",3);
|
||||
$showbirthday = empty($conf->use_javascript_ajax)?GETPOST("showbirthday","int"):1;
|
||||
|
||||
// If not choice done on calendar owner, we filter on user.
|
||||
if (empty($filtert) && empty($conf->AGENDA_ALL_CALENDARS))
|
||||
if (empty($filtert) && empty($conf->global->AGENDA_ALL_CALENDARS))
|
||||
{
|
||||
$filtert=$user->id;
|
||||
}
|
||||
|
||||
@ -57,7 +57,7 @@ $usergroup = GETPOST("usergroup","int",3);
|
||||
$showbirthday = empty($conf->use_javascript_ajax)?GETPOST("showbirthday","int"):1;
|
||||
|
||||
// If not choice done on calendar owner, we filter on user.
|
||||
if (empty($filtert) && empty($conf->AGENDA_ALL_CALENDARS))
|
||||
if (empty($filtert) && empty($conf->global->AGENDA_ALL_CALENDARS))
|
||||
{
|
||||
$filtert=$user->id;
|
||||
}
|
||||
|
||||
@ -48,7 +48,7 @@ $usergroup = GETPOST("usergroup","int",3);
|
||||
$showbirthday = 0;
|
||||
|
||||
// If not choice done on calendar owner, we filter on user.
|
||||
if (empty($filtert) && empty($conf->AGENDA_ALL_CALENDARS))
|
||||
if (empty($filtert) && empty($conf->global->AGENDA_ALL_CALENDARS))
|
||||
{
|
||||
$filtert=$user->id;
|
||||
}
|
||||
|
||||
@ -1011,6 +1011,7 @@ create table llx_c_email_templates
|
||||
entity integer DEFAULT 1 NOT NULL, -- multi company id
|
||||
module varchar(32), -- Nom du module en rapport avec le modele
|
||||
type_template varchar(32), -- template for which type of email (send invoice by email, send order, ...)
|
||||
lang varchar(32),
|
||||
private smallint DEFAULT 0 NOT NULL, -- Template public or private
|
||||
fk_user integer, -- Id utilisateur si modele prive, sinon null
|
||||
datec datetime,
|
||||
|
||||
@ -23,6 +23,7 @@ create table llx_c_email_template
|
||||
entity integer DEFAULT 1 NOT NULL, -- multi company id
|
||||
module varchar(32), -- Nom du module en rapport avec le modele
|
||||
type_template varchar(32), -- template for which type of email (send invoice by email, send order, ...)
|
||||
lang varchar(6),
|
||||
private smallint DEFAULT 0 NOT NULL, -- Template public or private
|
||||
fk_user integer, -- Id utilisateur si modele prive, sinon null
|
||||
datec datetime,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user