@@ -25,12 +25,12 @@ |
||
25 | 25 | self::init($class, $className); |
26 | 26 | $locale = self::getLocaleVar($locale); |
27 | 27 | |
28 | - if((int)$id === 0){ |
|
28 | + if((int)$id === 0) { |
|
29 | 29 | $id = Quick::findNextIdExt(self::$entityManager->getMetadataFactory()->getMetadataFor($class)); |
30 | 30 | } |
31 | 31 | |
32 | 32 | $update = (int)self::findByLocale($class, $locale, $content, $field, null, $id); |
33 | - if($update === 0){ |
|
33 | + if($update === 0) { |
|
34 | 34 | $id = Quick::findNextIdExt(self::$entityManager->getMetadataFactory()->getMetadataFor($class)); |
35 | 35 | } |
36 | 36 |