Loading

Assign "NULL" value

General Discussion around Collabtive

Assign "NULL" value

Postby onda » 24.10.2016, 21:14

I've assigned a NULL value to $ended

$ins = $insStmt->execute(array((int) $user, (int) $project, (int) $task, $comment, $started, NULL, $hours));

in class.timetracker

it is writing to the db table as NULL, why :? is it returning 01:00 (seems to be the default timestamp?) in

{$tracker[track].endstring|truncate:12:"...":true}

Can't figure out where this is coming from or which function is controlling the time calculation. Anyone got any ideas?
Cheers
Onda
onda
 
Posts: 95
Joined: 26.11.2012, 16:16

Return to General

Who is online

Users browsing this forum: No registered users

cron