projects
/
squirrelmail.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Give back the message object to those who want it
[squirrelmail.git]
/
plugins
/
bug_report
/
system_specs.php
diff --git
a/plugins/bug_report/system_specs.php
b/plugins/bug_report/system_specs.php
index 0914d10840e3394ab9280df8335f21c11cf83871..9b988db3c6b9353e2071ba61aaec592c7f817f2c 100644
(file)
--- a/
plugins/bug_report/system_specs.php
+++ b/
plugins/bug_report/system_specs.php
@@
-3,7
+3,7
@@
* This script gathers system specification details for use with bug reporting
* and anyone else who needs it.
*
* This script gathers system specification details for use with bug reporting
* and anyone else who needs it.
*
- * @copyright
© 1999-200
8 The SquirrelMail Project Team
+ * @copyright
1999-201
8 The SquirrelMail Project Team
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
* @package plugins
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
* @package plugins
@@
-141,7
+141,13
@@
function get_system_specs() {
$body.= ' Capabilities: ';
if ($imap_capabilities = sqimap_capability($imap_stream)) {
foreach ($imap_capabilities as $capability => $value) {
$body.= ' Capabilities: ';
if ($imap_capabilities = sqimap_capability($imap_stream)) {
foreach ($imap_capabilities as $capability => $value) {
- $body.= $capability . (is_bool($value) ? ' ' : "=$value ");
+ if (is_array($value)) {
+ foreach($value as $val) {
+ $body .= $capability . "=$val ";
+ }
+ } else {
+ $body.= $capability . (is_bool($value) ? ' ' : "=$value ");
+ }
}
}
$body.="\n";
}
}
$body.="\n";