diff options
author | Michal Čihař <michal@cihar.com> | 2005-07-10 23:38:54 +0400 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2005-07-10 23:38:54 +0400 |
commit | 92de72f143de30ffbac761ad83c1979ee77e5b5b (patch) | |
tree | 07d384f2c721e612816a230cf27b725215f94b7a /tbl_row_action.php | |
parent | 4701ca38c9a65e443d68438617ba34b6f1406e60 (diff) |
Fix undefined variable warning.
Diffstat (limited to 'tbl_row_action.php')
-rw-r--r-- | tbl_row_action.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tbl_row_action.php b/tbl_row_action.php index 1682a16396..cf8f52d423 100644 --- a/tbl_row_action.php +++ b/tbl_row_action.php @@ -113,7 +113,8 @@ if (!empty($submit_mult)) { /** * Show result of multi submit operation */ - if (!empty($submit_mult) || isset($mult_btn)) { + // sql_query is not set when user does not confirm multi-delete + if ((!empty($submit_mult) || isset($mult_btn)) && isset($sql_query)) { $disp_message = $strSuccess; $disp_query = $sql_query; } |