Skip to content

Commit

Permalink
Cs fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdriel committed Mar 26, 2017
1 parent 2350cb9 commit 7718296
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui.php
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ function editRecord($parameters) {
$data = $this->call('GET', $url . '/' . $subject . '/' . $id);
$html = '<h4>' . $subject . ': edit</h4>';
$html .= '<form method="post">';
$i=0;
$i = 0;
foreach ($data as $column => $field) {
$html .= '<div class="form-group">';
$html .= '<label for="' . $column . '">' . $column . '</label>';
Expand Down Expand Up @@ -448,7 +448,7 @@ function executeCommand() {

$html .= '<div class="col-md-9">';
$action = $parameters['method'] . '.' . ($parameters['action'] ?: 'home');
switch($action){
switch ($action) {
case 'GET.home': $html .= $this->home($parameters); break;
case 'GET.list': $html .= $this->listRecords($parameters); break;
case 'GET.add': $html .= $this->addRecord($parameters); break;
Expand Down

0 comments on commit 7718296

Please sign in to comment.