Skip to content

Commit

Permalink
Fix phpstan error report mentioned on pr#14483
Browse files Browse the repository at this point in the history
Signed-off-by: Leonardo Strozzi <laps15@inf.ufpr.br>
  • Loading branch information
laps15 committed Jul 26, 2018
1 parent a017a8e commit 4d31aa5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -191,12 +191,7 @@ public function indexAction()
$foreignKeySupported = Util::isForeignKeySupported($this->tbl_storage_engine);
$this->response->addHTML(
$this->template->render('table/relation/common_form', [
'url_params' => [
'db' => $GLOBALS['db'],
'table' => $GLOBALS['table'],
],
'is_foreign_key_supported' => Util::isForeignKeySupported($engine),
'cfg_relation' => $this->relation->getRelationsParam(),
'db' => $this->db,
'table' => $this->table,
'cfg_relation' => $this->cfgRelation,
Expand Down
2 changes: 1 addition & 1 deletion templates/table/relation/common_form.twig
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@
{% set table_obj = Table_get(foreign_table, foreign_db) %}
{% set unique_columns = table_obj.getUniqueColumns(false, false) %}
{% endif %}

<tr>
<td class="vmiddle">
<strong>{{ myfield }}</strong>
Expand Down

0 comments on commit 4d31aa5

Please sign in to comment.