From: Alan Knowles Date: Sat, 3 Nov 2012 05:03:02 +0000 (+0800) Subject: MTrack/SCM/Git/Repo.php X-Git-Url: http://git.roojs.org/?p=web.mtrack;a=commitdiff_plain;h=db227f2b73960a79e0d363ec2efa9d01c1eae247 MTrack/SCM/Git/Repo.php --- diff --git a/MTrack/SCM/Git/Repo.php b/MTrack/SCM/Git/Repo.php index 72662a2d..f6902225 100644 --- a/MTrack/SCM/Git/Repo.php +++ b/MTrack/SCM/Git/Repo.php @@ -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);