follow-up to r74742: fix typos
[lhc/web/wiklou.git] / maintenance / storage / compressOld.inc
index 4a97505..69964ff 100644 (file)
@@ -169,7 +169,7 @@ function compressWithConcat( $startId, $maxChunkSize, $beginDate,
                        $revLoadOptions
                );
                $revs = array();
-               foreach ( $res as $row ) {
+               foreach ( $revRes as $revRow ) {
                        $revs[] = $revRow;
                }