From: <pdo...@us...> - 2017-12-29 20:03:42
|
Revision: 14748 http://sourceforge.net/p/squirrelmail/code/14748 Author: pdontthink Date: 2017-12-29 20:03:40 +0000 (Fri, 29 Dec 2017) Log Message: ----------- Seriously? The variable is named as an array and initialized as a string? Well, I hope no callers were expecting a potentially empty string, because now they will get an empty array instead. empty() should handle this fine, hopefully callers do something sane like that. Modified Paths: -------------- trunk/squirrelmail/functions/imap_general.php Modified: trunk/squirrelmail/functions/imap_general.php =================================================================== --- trunk/squirrelmail/functions/imap_general.php 2017-12-19 05:02:38 UTC (rev 14747) +++ trunk/squirrelmail/functions/imap_general.php 2017-12-29 20:03:40 UTC (rev 14748) @@ -410,7 +410,7 @@ $read = ''; if (!is_array($message)) $message = array(); if (!is_array($response)) $response = array(); - $aResponse = ''; + $aResponse = array(); $resultlist = array(); $data = array(); $sCommand = ''; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |