MTrack/SCM/Git/Repo.php
[web.mtrack] / MTrack / SCM / Git / Repo.php
index 72662a2..f690222 100644 (file)
@@ -251,7 +251,7 @@ HOOK;
                 
                 $args[] = "--skip={$limit[0]} --max-count={$limit[1]}";
             } else if (is_array($limit) ) {
-                foreach($line as $k=>$v) {
+                foreach($limt as $k=>$v) {
                      
                     $args[] = ($k = '-') ? '' : ('--'. $k .'='. $v);