From 06a3aea995af0457f87dd8a4af516c8ca7f89aad Mon Sep 17 00:00:00 2001 From: Rouslan Placella Date: Wed, 23 Nov 2011 17:45:38 +0000 Subject: [PATCH] Don't send table links in AJAX responses --- tbl_addfield.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tbl_addfield.php b/tbl_addfield.php index 69252e6eb7..ce8735e8db 100644 --- a/tbl_addfield.php +++ b/tbl_addfield.php @@ -221,7 +221,9 @@ if ($abort == false) { * Displays top menu links */ $active_page = 'tbl_structure.php'; - include_once './libraries/tbl_links.inc.php'; + if ($GLOBALS['is_ajax_request'] != true) { + include_once './libraries/tbl_links.inc.php'; + } /** * Display the form */