Menu

#13 initialise $result in function iil_SortHeaders()

open
nobody
None
5
2005-10-19
2005-10-19
Anonymous
No

--- imap.inc.181 2005-10-20 00:38:02.560198250 +0200
+++ imap.inc 2005-10-20 00:36:40.475068250 +0200
@@ -1377,6 +1377,7 @@ function iil_SortHeaders($a,
$field, $fl
$flag=strtoupper($flag);

$c=count($a);
+ $result=array();
if ($c>0){
/*
Strategy:
--- cut ---

please include this patch so $result is initialized
like in other functions

Discussion