From db227f2b73960a79e0d363ec2efa9d01c1eae247 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Sat, 3 Nov 2012 13:03:02 +0800 Subject: [PATCH] MTrack/SCM/Git/Repo.php --- MTrack/SCM/Git/Repo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.2