Fix undefined variable warning.

This commit is contained in:
Michal Čihař
2005-07-10 19:38:54 +00:00
parent 4701ca38c9
commit 92de72f143
2 changed files with 3 additions and 1 deletions

View File

@@ -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;
}