DataObjects/Mtrack_repos.php
authorAlan Knowles <alan@roojs.com>
Mon, 10 Sep 2018 02:21:35 +0000 (10:21 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 10 Sep 2018 02:21:35 +0000 (10:21 +0800)
DataObjects/Mtrack_repos.php

index 9098da3..b9e715f 100644 (file)
@@ -675,9 +675,8 @@ class Pman_MTrack_DataObjects_Mtrack_repos extends DB_DataObject
             $object = 'branch';
             $branch = 'roojs';
         }
-        
-        
-        $res = $imp->history('.', array('since'=> '{'.$df.'}' , 'before' => '{'.$dt .'}'), $branch, $rev);
+                
+        $res = $imp->history('.', array('since'=> '{'.$df.'}' , 'before' => '{'.$dt .'}'), $object, $branch);
         //echo '<PRE>';print_R($res);
         $add = $r->historyToSummary($res, $df, 'toArray');