@@ -5,7 +5,7 @@ |
||
5 | 5 | */ |
6 | 6 | |
7 | 7 | /** Set composer autoloader */ |
8 | -require __DIR__.'/vendor/autoload.php'; |
|
8 | +require __DIR__ . '/vendor/autoload.php'; |
|
9 | 9 | |
10 | 10 | /** Set The Default Timezone */ |
11 | 11 | date_default_timezone_set('UTC'); |
@@ -17,7 +17,7 @@ |
||
17 | 17 | // Get all available groups from db |
18 | 18 | $groupSelect = array(); |
19 | 19 | foreach ($query->className('group')->cond('Active', 1)->exec() as $group) { |
20 | - $groupSelect[] = $group->GroupID.':'.$group->Name; |
|
20 | + $groupSelect[] = $group->GroupID . ':' . $group->Name; |
|
21 | 21 | } |
22 | 22 | |
23 | 23 | // Set view |
@@ -48,7 +48,7 @@ |
||
48 | 48 | $entity->save(); |
49 | 49 | |
50 | 50 | // Go to correct form URL |
51 | - url()->redirect($this->system->module('cms')->baseUrl.'/'.$this->id . '/form/' . $entity->id); |
|
51 | + url()->redirect($this->system->module('cms')->baseUrl . '/' . $this->id . '/form/' . $entity->id); |
|
52 | 52 | } |
53 | 53 | |
54 | 54 | /** |