program/lib/imap.inc
@@ -1407,18 +1407,18 @@ and use that to sort the main array. */ // create "index" array // create "index" array $index=array(); reset($a); while (list($key, $val)=each($a)){ if ($field=="timestamp"){ $data = @strtotime($value->date); if ($data != false) $data = $timestamp; $data = @strtotime($val->date); if ($data == false) $data = $val->timestamp; } else { $data=$a[$key]->$field; $data = $val->$field; if (is_string($data)) $data=strtoupper(str_replace($stripArr, "", $data)); }