diff --git a/tbl_printview.php b/tbl_printview.php index 2cba9aa62d..ea16713fa6 100644 --- a/tbl_printview.php +++ b/tbl_printview.php @@ -10,8 +10,6 @@ */ require_once 'libraries/common.inc.php'; -require 'libraries/tbl_common.inc.php'; - /** * Gets the variables sent or posted to this script, then displays headers */ @@ -21,6 +19,8 @@ if (! isset($selected_tbl)) { include_once 'libraries/header.inc.php'; } +require 'libraries/tbl_common.inc.php'; + // Check parameters if (! isset($the_tables) || ! is_array($the_tables)) {