From 15c13e613c6c17dadb9a2a0ea2b0251bab4f99e2 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Mon, 3 Nov 2014 13:27:29 -0500 Subject: [PATCH] Fix code execution path warning Signed-off-by: Marc Delisle --- tbl_relation.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tbl_relation.php b/tbl_relation.php index 301a900f9e..44fa1b68e5 100644 --- a/tbl_relation.php +++ b/tbl_relation.php @@ -64,6 +64,8 @@ if (PMA_Util::isForeignKeySupported($tbl_storage_engine)) { } if ($cfgRelation['displaywork']) { $disp = PMA_getDisplayField($db, $table); +} else { + $disp = ''; } // will be used in the logic for internal relations and foreign keys: