mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
FIX #7550
This commit is contained in:
parent
5411699256
commit
afc1938676
|
|
@ -354,6 +354,8 @@ update llx_bank_url as bu set url_id = (select e.fk_user_author from tmp_bank_ur
|
|||
drop table tmp_bank_url_expense_user;
|
||||
|
||||
|
||||
-- VMYSQL4.1 update llx_projet_task_time set task_datehour = task_date where task_datehour < task_date or task_datehour > DATE_ADD(task_date, interval 1 day);
|
||||
|
||||
|
||||
-- Clean product prices
|
||||
--delete from llx_product_price where date_price between '2017-04-20 06:51:00' and '2017-04-20 06:51:05';
|
||||
|
|
|
|||
|
|
@ -246,6 +246,7 @@ if ($action == 'addtime' && $user->rights->projet->lire)
|
|||
$object->timespent_duration = $newduration;
|
||||
$object->timespent_fk_user = $usertoprocess->id;
|
||||
$object->timespent_date = dol_time_plus_duree($firstdaytoshow, $key, 'd');
|
||||
$object->timespent_datehour = $object->timespent_date;
|
||||
|
||||
$result=$object->addTimeSpent($user);
|
||||
if ($result < 0)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user