MTrack/SCM/Git/Repo.php
authorAlan Knowles <alan@roojs.com>
Sat, 3 Nov 2012 05:03:02 +0000 (13:03 +0800)
committerAlan Knowles <alan@roojs.com>
Sat, 3 Nov 2012 05:03:02 +0000 (13:03 +0800)
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);