diff options
Diffstat (limited to 'src/Wallabag/ImportBundle/Import/WallabagV1Import.php')
-rw-r--r-- | src/Wallabag/ImportBundle/Import/WallabagV1Import.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/ImportBundle/Import/WallabagV1Import.php b/src/Wallabag/ImportBundle/Import/WallabagV1Import.php index aff5af40..0866ebe9 100644 --- a/src/Wallabag/ImportBundle/Import/WallabagV1Import.php +++ b/src/Wallabag/ImportBundle/Import/WallabagV1Import.php | |||
@@ -149,7 +149,7 @@ class WallabagV1Import implements ImportInterface | |||
149 | 149 | ||
150 | // flush every 20 entries | 150 | // flush every 20 entries |
151 | if (($i % 20) === 0) { | 151 | if (($i % 20) === 0) { |
152 | $em->flush(); | 152 | $this->em->flush(); |
153 | } | 153 | } |
154 | ++$i; | 154 | ++$i; |
155 | } | 155 | } |