6.0.0-alpha12
6/12/25

[#9991] Convert variable to array since its expected to be one
Summary Convert variable to array since its expected to be one
Queue Kronolith
Queue Version Git master
Type Bug
State Resolved
Priority 1. Low
Owners jan (at) horde (dot) org
Requester goncalo.queiros (at) portugalmail (dot) net
Created 04/26/2011 (5161 days ago)
Due
Updated 04/27/2011 (5160 days ago)
Assigned 04/26/2011 (5161 days ago)
Resolved 04/27/2011 (5160 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch Yes

History
04/27/2011 11:49:35 AM goncalo (dot) queiros (at) portugalmail (dot) net Comment #4
New Attachment: 0001-Fix-typehint-Bug-9991.patch Download
Reply to this comment
This was also working for me on my computer, but then on production it 
started to blow up..probably due to different php versions.

Btw, i think you also wnat to change the typehint of 
_createExceptionEvent (patch attached)
04/27/2011 11:28:30 AM Jan Schneider Assigned to Jan Schneider
Taken from Michael Rubinsky
State ⇒ Resolved
 
04/27/2011 11:28:19 AM Git Commit Comment #3 Reply to this comment
Changes have been made in Git for this ticket:

Fix typehint (Bug #9991).

  1 files changed, 2 insertions(+), 2 deletions(-)
http://git.horde.org/horde-git/-/commit/9aa00f787f123a9c37a875ab335163ee9abe232a
04/26/2011 10:58:47 PM Michael Rubinsky Comment #2
State ⇒ Assigned
Assigned to Michael Rubinsky
Reply to this comment
Actually, no idea why it's working for me, but the typehint is wrong.
04/26/2011 06:04:52 PM goncalo (dot) queiros (at) portugalmail (dot) net Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Convert variable to array since its expected to be one
Queue ⇒ Kronolith
Milestone ⇒
Patch ⇒ Yes
New Attachment: 0001-Force-array-convertion-since-this-variable-is-expect.patch Download
State ⇒ Unconfirmed
Reply to this comment
This was throwing a fatal:
"PHP Catchable fatal error:  Argument 3 passed to 
Kronolith_Ajax_Application::_saveEvent() must be an array, object 
given..."

Don't know if the attached patch is the solution...

Saved Queries