Skip to content

Commit 6b6b372

Browse files
committed
Merge remote-tracking branch 'origin/3.5' into 3.6
Conflicts: htdocs/theme/eldy/graph-color.php
2 parents a8668ae + d4a0c12 commit 6b6b372

File tree

7 files changed

+7
-2
lines changed

7 files changed

+7
-2
lines changed

ChangeLog

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ Fix: Update impayees.php
126126
Fix: Link product, In list view and label product
127127
Fix: visible task into area "time" for "My task" must limit task to tasks i am assigned to.
128128
Fix: When disabled, all fields to add time into task line must be disabled.
129+
Fix: Missing include files.lib.php in some pages that use dol_delete_recursive
129130

130131
***** ChangeLog for 3.5.4 compared to 3.5.3 *****
131132
Fix: Hide title of event when agenda module disabled.

htdocs/adherents/fiche.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,7 @@
328328
{
329329
if (GETPOST('deletephoto'))
330330
{
331+
require_once DOL_DOCUMENT_ROOT . '/core/lib/files.lib.php';
331332
$fileimg=$conf->adherent->dir_output.'/'.get_exdir($object->id,2,0,1).'/photos/'.$object->photo;
332333
$dirthumbs=$conf->adherent->dir_output.'/'.get_exdir($object->id,2,0,1).'/photos/thumbs';
333334
dol_delete_file($fileimg);

htdocs/admin/tools/update.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
*/
2424

2525
require '../../main.inc.php';
26-
include_once $dolibarr_main_document_root.'/core/lib/files.lib.php';
26+
include_once DOL_DOCUMENT_ROOT . '/core/lib/files.lib.php';
2727

2828
$langs->load("admin");
2929
$langs->load("other");

htdocs/contrat/class/contrat.class.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -833,6 +833,7 @@ function create($user)
833833
function delete($user)
834834
{
835835
global $conf, $langs;
836+
require_once DOL_DOCUMENT_ROOT . '/core/lib/files.lib.php';
836837

837838
$error=0;
838839

htdocs/product/class/product.class.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -768,6 +768,7 @@ function update($id, $user, $notrigger=false, $action='update')
768768
function delete($id=0)
769769
{
770770
global $conf,$user,$langs;
771+
require_once DOL_DOCUMENT_ROOT . '/core/lib/files.lib.php';
771772

772773
$error=0;
773774

htdocs/projet/class/task.class.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,7 @@ function delete($user, $notrigger=0)
354354
{
355355

356356
global $conf, $langs;
357+
require_once DOL_DOCUMENT_ROOT . '/core/lib/files.lib.php';
357358

358359
$error=0;
359360

htdocs/theme/eldy/graph-color.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
global $theme_bordercolor, $theme_datacolor, $theme_bgcolor, $theme_bgcoloronglet;
3030
$theme_bordercolor = array(235,235,224);
31-
$theme_datacolor = array(array(190,190,220), array(200,160,180), array(125,135,150), array(170,140,190), array(190,190,170), array(190,170,190), array(170,190,190), array(150,135,125));
31+
$theme_datacolor = array(array(190,190,220), array(200,160,180), array(125,135,150), array(170,140,190), array(190,190,170), array(190,170,190), array(170,190,190), array(150,135,125), array(85,135,150), array(150,135,80), array(150,80,150));
3232
$theme_bgcolor = array(hexdec('F4'),hexdec('F4'),hexdec('F4'));
3333
$theme_bgcoloronglet = array(hexdec('DE'),hexdec('E7'),hexdec('EC'));
3434

0 commit comments

Comments
 (0)