diff --git a/htdocs/core/class/commondocgenerator.class.php b/htdocs/core/class/commondocgenerator.class.php index 5799a1607e9..16eeab10ac4 100644 --- a/htdocs/core/class/commondocgenerator.class.php +++ b/htdocs/core/class/commondocgenerator.class.php @@ -1106,7 +1106,7 @@ abstract class CommonDocGenerator public function getColumnContentXStart($colKey) { $colDef = $this->cols[$colKey]; - return $colDef['xStartPos'] + $colDef['content']['padding'][3]; + return isset($colDef['xStartPos']) ? $colDef['xStartPos'] + $colDef['content']['padding'][3] : null; } /** diff --git a/htdocs/core/lib/project.lib.php b/htdocs/core/lib/project.lib.php index f8e998101bc..f144b97e922 100644 --- a/htdocs/core/lib/project.lib.php +++ b/htdocs/core/lib/project.lib.php @@ -2621,13 +2621,13 @@ function getTaskProgressView($task, $label = true, $progressNumber = true, $hide // good $out .= '
'; } else { // bad $out .= ' '; } $out .= ' '; diff --git a/htdocs/delivery/card.php b/htdocs/delivery/card.php index cfcb1f3ea2a..603777d231f 100644 --- a/htdocs/delivery/card.php +++ b/htdocs/delivery/card.php @@ -283,7 +283,7 @@ if ($action == 'create') { print '