@@ -506,7 +506,7 @@ |
||
| 506 | 506 | try { |
| 507 | 507 | // execute the workflow action |
| 508 | 508 | $success = $workflowHelper->executeAction($entity, $action); |
| 509 | - } catch(\Exception $e) { |
|
| 509 | + } catch (\Exception $e) { |
|
| 510 | 510 | $this->addFlash('error', $this->__f('Sorry, but an error occured during the %action% action.', ['%action%' => $action]) . ' ' . $e->getMessage()); |
| 511 | 511 | $logger->error('{app}: User {user} tried to execute the {action} workflow action for the {entity} with id {id}, but failed. Error details: {errorMessage}.', ['app' => 'ZikulaRoutesModule', 'user' => $userName, 'action' => $action, 'entity' => 'route', 'id' => $itemId, 'errorMessage' => $e->getMessage()]); |
| 512 | 512 | } |
@@ -142,9 +142,9 @@ |
||
| 142 | 142 | $newStargArgs = str_replace(',', '&', $this->getSystemVar('startargs')); // replace comma with `&` |
| 143 | 143 | $this->setSystemVar('startargs', $newStargArgs); |
| 144 | 144 | case '2.9.11': |
| 145 | - $this->setSystemVar('shorturls', (bool) $this->getSystemVar('shorturls')); |
|
| 146 | - $this->setSystemVar('shorturlsstripentrypoint', (bool) $this->getSystemVar('shorturlsstripentrypoint')); |
|
| 147 | - $this->setSystemVar('useCompression', (bool) $this->getSystemVar('useCompression')); |
|
| 145 | + $this->setSystemVar('shorturls', (bool)$this->getSystemVar('shorturls')); |
|
| 146 | + $this->setSystemVar('shorturlsstripentrypoint', (bool)$this->getSystemVar('shorturlsstripentrypoint')); |
|
| 147 | + $this->setSystemVar('useCompression', (bool)$this->getSystemVar('useCompression')); |
|
| 148 | 148 | case '2.9.12': // ship with Core-1.4.4 |
| 149 | 149 | // reconfigure TZ settings |
| 150 | 150 | $this->setGuestTimeZone(); |