@@ -177,8 +177,7 @@ |
||
| 177 | 177 | |
| 178 | 178 | public function onAfterWrite() |
| 179 | 179 | { |
| 180 | - if (self::$loop_count < 2) { |
|
| 181 | - ++self::$loop_count; |
|
| 180 | + if (self::$loop_count < 2) {++self::$loop_count; |
|
| 182 | 181 | $this->CreateFiles(); |
| 183 | 182 | // 2 = only real changes. |
| 184 | 183 | if ($this->owner->isChanged('UnderConstructionOnOff', 2)) { |