]> wagnertech.de Git - timetracker.git/blobdiff - WEB-INF/lib/ttTimeHelper.class.php
Initial implementation of a mobile timer page
[timetracker.git] / WEB-INF / lib / ttTimeHelper.class.php
index f743e61d211232eb947ea207e26adc664d49e7bb..e1b2470fbb83cc7125f413247afb13efc187ac7e 100644 (file)
@@ -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')) {