@@ -48,9 +48,9 @@ |
||
| 48 | 48 | } else { |
| 49 | 49 | return $this->render( |
| 50 | 50 | 'backend/caches/basicsearch.html.twig', [ |
| 51 | - 'cachesForm' => $form->createView(), |
|
| 52 | - 'caches_by_searchfield' => $fetchedCaches |
|
| 53 | - ] |
|
| 51 | + 'cachesForm' => $form->createView(), |
|
| 52 | + 'caches_by_searchfield' => $fetchedCaches |
|
| 53 | + ] |
|
| 54 | 54 | ); |
| 55 | 55 | } |
| 56 | 56 | } |
@@ -219,7 +219,7 @@ |
||
| 219 | 219 | $fetchedCaches = $qb->execute()->fetchAll(); |
| 220 | 220 | |
| 221 | 221 | $array_size = count($fetchedCaches); |
| 222 | - for ($i = 0; $i < $array_size; $i ++) { |
|
| 222 | + for ($i = 0; $i < $array_size; $i++) { |
|
| 223 | 223 | // replace existing log passwords with something different |
| 224 | 224 | // nur der Teil mit den Bilderzuweisungen müsste nochmal überdacht werden.. |
| 225 | 225 | if ($fetchedCaches[$i]["logpw"] != "") { |
@@ -27,6 +27,6 @@ |
||
| 27 | 27 | 'trim' => true |
| 28 | 28 | ] |
| 29 | 29 | ) |
| 30 | - ->add('Suchen', SubmitType::class, ['attr' => ['class' => 'btn btn-primary']]);; |
|
| 30 | + ->add('Suchen', SubmitType::class, ['attr' => ['class' => 'btn btn-primary']]); ; |
|
| 31 | 31 | } |
| 32 | 32 | } |
@@ -134,11 +134,11 @@ |
||
| 134 | 134 | { |
| 135 | 135 | $entity = new CachesEntity(); |
| 136 | 136 | |
| 137 | - $entity->setCacheId((int) $data['cache_id']); |
|
| 138 | - $entity->setOCid((string) $data['wp_oc']); |
|
| 139 | - $entity->setGCid((string) $data['wp_gc']); |
|
| 140 | - $entity->setName((string) $data['name']); |
|
| 141 | - $entity->setUserId((int) $data['user_id']); |
|
| 137 | + $entity->setCacheId((int)$data['cache_id']); |
|
| 138 | + $entity->setOCid((string)$data['wp_oc']); |
|
| 139 | + $entity->setGCid((string)$data['wp_gc']); |
|
| 140 | + $entity->setName((string)$data['name']); |
|
| 141 | + $entity->setUserId((int)$data['user_id']); |
|
| 142 | 142 | |
| 143 | 143 | // .. |
| 144 | 144 | |