From: <pdo...@us...> - 2022-04-05 02:12:16
|
Revision: 14943 http://sourceforge.net/p/squirrelmail/code/14943 Author: pdontthink Date: 2022-04-05 02:12:15 +0000 (Tue, 05 Apr 2022) Log Message: ----------- Fix deprecation notice when variable is null Modified Paths: -------------- branches/SM-1_4-STABLE/squirrelmail/functions/mailbox_display.php Modified: branches/SM-1_4-STABLE/squirrelmail/functions/mailbox_display.php =================================================================== --- branches/SM-1_4-STABLE/squirrelmail/functions/mailbox_display.php 2022-03-21 20:39:37 UTC (rev 14942) +++ branches/SM-1_4-STABLE/squirrelmail/functions/mailbox_display.php 2022-04-05 02:12:15 UTC (rev 14943) @@ -1335,7 +1335,8 @@ function getMbxList($imapConnection) { global $lastTargetMailbox; echo ' <tt><select name="targetMailbox">'; - echo sqimap_mailbox_option_list($imapConnection, array(strtolower($lastTargetMailbox)) ); + echo sqimap_mailbox_option_list($imapConnection, + isset($lastTargetMailbox) ? array(strtolower($lastTargetMailbox)) : array()); echo ' </select></tt> '; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |