Bug 146030

Summary: [PATCH] Fix mail/roundcube when PHP 5.3 is used
Product: Ports & Packages Reporter: dennylin93
Component: Individual Port(s)Assignee: Alex Dupre <ale>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch-program_lib_MDB2_Driver_mysqli.php none

Description dennylin93 2010-04-25 03:50:02 UTC
After upgrading to PHP 5.3, MDB2 becomes broken, which renders RC unusable. Previously, in PHP 5.2 bind_param() allowed parameters to be passed by value. However, only pass by reference is allowed in PHP 5.3.

Also check $result for not TRUE instead of FALSE since call_user_func_array() returns NULL when an error is encountered while parsing parameters.

The attached patch provides a fix for 0.3.1.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2010-04-25 03:50:13 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Alex Dupre freebsd_committer freebsd_triage 2010-04-26 15:20:53 UTC
State Changed
From-To: open->closed

Fixed in 0.4-beta release.