Fix phpcs
This commit is contained in:
parent
ce1c5c6873
commit
813deee4a5
@ -1709,8 +1709,8 @@ if ($id > 0)
|
|||||||
// Reminders
|
// Reminders
|
||||||
if ($conf->global->AGENDA_REMINDER_EMAIL || $conf->global->AGENDA_REMINDER_BROWSER)
|
if ($conf->global->AGENDA_REMINDER_EMAIL || $conf->global->AGENDA_REMINDER_BROWSER)
|
||||||
{
|
{
|
||||||
$filtreuserid = $user->id;
|
$filteruserid = $user->id;
|
||||||
if ($user->rights->agenda->allactions->read) $filtreuserid = 0;
|
if ($user->rights->agenda->allactions->read) $filteruserid = 0;
|
||||||
$object->loadReminders('', $filteruserid, false);
|
$object->loadReminders('', $filteruserid, false);
|
||||||
|
|
||||||
print '<hr>';
|
print '<hr>';
|
||||||
@ -1721,10 +1721,7 @@ if ($id > 0)
|
|||||||
$firstreminderId = array_shift($keys);
|
$firstreminderId = array_shift($keys);
|
||||||
|
|
||||||
$actionCommReminder = $object->reminders[$firstreminderId];
|
$actionCommReminder = $object->reminders[$firstreminderId];
|
||||||
|
} else {
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
$checked = '';
|
$checked = '';
|
||||||
$actionCommReminder = new ActionCommReminder($db);
|
$actionCommReminder = new ActionCommReminder($db);
|
||||||
$actionCommReminder->offsetvalue = 10;
|
$actionCommReminder->offsetvalue = 10;
|
||||||
|
|||||||
@ -59,12 +59,11 @@ function payment_prepare_head(Paiement $object)
|
|||||||
* Returns an array with the tabs for the "Bannkline" section
|
* Returns an array with the tabs for the "Bannkline" section
|
||||||
* It loads tabs from modules looking for the entity payment
|
* It loads tabs from modules looking for the entity payment
|
||||||
*
|
*
|
||||||
* @param Bankline $object Current payment object
|
* @param int $id ID of bank line
|
||||||
* @return array Tabs for the Bankline section
|
* @return array Tabs for the Bankline section
|
||||||
*/
|
*/
|
||||||
function bankline_prepare_head($id)
|
function bankline_prepare_head($id)
|
||||||
{
|
{
|
||||||
|
|
||||||
global $langs, $conf;
|
global $langs, $conf;
|
||||||
|
|
||||||
$h = 0;
|
$h = 0;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user