MTrack/SCM/Git/Repo.php
authorAlan Knowles <alan@roojs.com>
Sat, 3 Nov 2012 04:59:55 +0000 (12:59 +0800)
committerAlan Knowles <alan@roojs.com>
Sat, 3 Nov 2012 04:59:55 +0000 (12:59 +0800)
MTrack/SCM/Git/Repo.php

index e9760ba..bf096e2 100644 (file)
@@ -252,7 +252,7 @@ HOOK;
                 $args[] = "--skip={$limit[0]} --max-count={$limit[1]}";
             } else if (is_array($limit) ) {
                 foreach($line as $k=>$v) {
-                    $args[] = ($k = '-' ? '' : ('--'. $k .'='. $v;
+                    $args[] = ($k = '-') ? '' : ('--'. $k .'='. $v);
                 }
                 $args[] = "--skip={$limit[0]} --max-count={$limit[1]}";
             } else {