From 30833080e1f1e1bb0e4733b6ad7f6319d318f51a Mon Sep 17 00:00:00 2001 From: lkehresman Date: Fri, 2 Feb 2001 15:48:36 +0000 Subject: [PATCH] more warnings removed git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1039 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/read_body.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/read_body.php b/src/read_body.php index 5c214037..46dac94f 100644 --- a/src/read_body.php +++ b/src/read_body.php @@ -221,7 +221,7 @@ if (count($to_ary) > 1) { if ($show_more == false) { if ($i == 1) { - if ($where && $what) { + if (isset($where) && isset($what)) { // from a search $to_string = "$to_string ($echo_more)"; } else { @@ -230,7 +230,7 @@ $i = count($to_ary); } } else if ($i == 1) { - if ($where && $what) { + if (isset($where) && isset($what)) { // from a search $to_string = "$to_string ($echo_less)"; } else { @@ -256,7 +256,7 @@ if (count($cc_ary) > 1) { if ($show_more_cc == false) { if ($i == 1) { - if ($where && $what) { + if (isset($where) && isset($what)) { // from a search $cc_string = "$cc_string ($echo_more)"; } else { @@ -265,7 +265,7 @@ $i = count($cc_ary); } } else if ($i == 1) { - if ($where && $what) { + if (isset($where) && isset($what)) { // from a search $cc_string = "$cc_string ($echo_less)"; } else { -- 2.25.1