Summary | PHP ERROR: imp/lib/Prefs/Identity.php |
Queue | IMP |
Queue Version | Git master |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | jan (at) horde (dot) org |
Requester | rsalmon (at) mbpgroup (dot) com |
Created | 12/28/2010 (5315 days ago) |
Due | |
Updated | 12/29/2010 (5314 days ago) |
Assigned | 12/28/2010 (5315 days ago) |
Resolved | 12/29/2010 (5314 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Resolved
Thanks.
Cast to array (
Bug #9473).http://git.horde.org/horde-git/-/commit/d2e8692d48e3ad62da345138af96b17ded80477b
--- Identity.php.org 2010-12-29 12:04:56.000000000 +0100
+++ Identity.php 2010-12-29 12:04:59.000000000 +0100
@@ -230 +230 @@
- $this->getValue('alias_addr', $ident),
+ (is_null($this->getValue('alias_addr', $ident)) ?
array() : $this->getValue('alias_addr', $ident)),
using dynamic view, prefs alias_addr and replyto_addr are empty and locked.
After login and accessing the dynamic view, I get hundreds of PHP
ERROR in /tmp/horde.log.
perfectly happy with that change, but it's a completely different topic.
two-dimensional array. And it's already silenced for the case when
it's not an array.
replyto_addr. So, I guess (in imp/lib/Prefs/Identity.php)
alias_addr should be wrap like replyto_addr is.
using dynamic view, prefs alias_addr and replyto_addr are empty and locked.
After login and accessing the dynamic view, I get hundreds of PHP
ERROR in /tmp/horde.log.
two-dimensional array. And it's already silenced for the case when
it's not an array.
replyto_addr. So, I guess (in imp/lib/Prefs/Identity.php) alias_addr
should be wrap like replyto_addr is.
State ⇒ Feedback
two-dimensional array. And it's already silenced for the case when
it's not an array.
Milestone ⇒
State ⇒ Unconfirmed
Patch ⇒ No
Queue ⇒ IMP
Summary ⇒ PHP ERROR: imp/lib/Prefs/Identity.php
Type ⇒ Bug
Priority ⇒ 1. Low
Argument
#1is not an array [pid 27323 on line 232 of"/var/www/html/hordetest/imp/lib/Prefs/Identity.php"]
--- Identity.php.old 2010-12-28 12:08:43.000000000 +0100
+++ Identity.php 2010-12-28 12:08:48.000000000 +0100
@@ -230 +230 @@
- $this->getValue('alias_addr', $ident),
+ array($this->getValue('alias_addr', $ident)),