Skip to content

Commit

Permalink
Fix issue reported by scrutinizer
Browse files Browse the repository at this point in the history
Signed-off-by: William Desportes <williamdes@wdes.fr>
  • Loading branch information
williamdes committed Jun 15, 2018
1 parent 29eaf86 commit 27bd590
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/classes/Database/Designer.php
Expand Up @@ -367,7 +367,7 @@ public function getHtmlForMain(
$designerConfig->scriptContr = $scriptContr;
$designerConfig->server = $GLOBALS['server'];
$designerConfig->scriptDisplayField = $scriptDisplayField;
$designerConfig->displayPage = ($displayPage === '' ? '-1' : $displayPage);
$designerConfig->displayPage = $displayPage;
$designerConfig->tablesEnabled = $cfgRelation['pdfwork'];

return Template::get('database/designer/main')->render([
Expand Down

0 comments on commit 27bd590

Please sign in to comment.