X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Flib%2FttTimeHelper.class.php;h=e1b2470fbb83cc7125f413247afb13efc187ac7e;hb=98907514962d51214461614c73087dc9f0f6c2f7;hp=f743e61d211232eb947ea207e26adc664d49e7bb;hpb=23b28d9f1bed21ad53c99fdd6c5649e4aa8be66b;p=timetracker.git diff --git a/WEB-INF/lib/ttTimeHelper.class.php b/WEB-INF/lib/ttTimeHelper.class.php index f743e61d..e1b2470f 100644 --- a/WEB-INF/lib/ttTimeHelper.class.php +++ b/WEB-INF/lib/ttTimeHelper.class.php @@ -492,7 +492,7 @@ class ttTimeHelper { static function getUncompleted($user_id) { $mdb2 = getConnection(); - $sql = "select id from tt_log + $sql = "select id, start from tt_log where user_id = $user_id and start is not null and time_to_sec(duration) = 0 and status = 1"; $res = $mdb2->query($sql); if (!is_a($res, 'PEAR_Error')) {