Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dolibarr
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
98d7ce94
Commit
98d7ce94
authored
Sep 11, 2014
by
Laurent Destailleur
Browse files
Options
Downloads
Plain Diff
Merge pull request #1873 from GPCsolutions/projectfixes
Projectfixes
parents
dddafaca
367d225d
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
htdocs/projet/class/project.class.php
+3
-1
3 additions, 1 deletion
htdocs/projet/class/project.class.php
with
3 additions
and
1 deletion
htdocs/projet/class/project.class.php
+
3
−
1
View file @
98d7ce94
...
@@ -988,7 +988,7 @@ class Project extends CommonObject
...
@@ -988,7 +988,7 @@ class Project extends CommonObject
$error
=
0
;
$error
=
0
;
dol_syslog
(
"createFromClone clone_contact="
.
$clone_contact
.
" clone_task="
.
$clone_task
.
" clone_file="
.
$clone_file
.
" clone_note="
.
$clone_note
);
dol_syslog
(
"createFromClone clone_contact="
.
$clone_contact
.
" clone_task="
.
$clone_task
.
" clone_
project_
file="
.
$clone_
project_
file
.
" clone_note="
.
$clone_note
);
$now
=
dol_mktime
(
0
,
0
,
0
,
idate
(
'm'
,
dol_now
()),
idate
(
'd'
,
dol_now
()),
idate
(
'Y'
,
dol_now
()));
$now
=
dol_mktime
(
0
,
0
,
0
,
idate
(
'm'
,
dol_now
()),
idate
(
'd'
,
dol_now
()),
idate
(
'Y'
,
dol_now
()));
...
@@ -1146,6 +1146,8 @@ class Project extends CommonObject
...
@@ -1146,6 +1146,8 @@ class Project extends CommonObject
//Duplicate task
//Duplicate task
if
(
$clone_task
)
if
(
$clone_task
)
{
{
require_once
DOL_DOCUMENT_ROOT
.
'/projet/class/task.class.php'
;
$taskstatic
=
new
Task
(
$this
->
db
);
$taskstatic
=
new
Task
(
$this
->
db
);
// Security check
// Security check
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment