FreeBSD Bugzilla – Attachment 105537 Details for
Bug 146030
[PATCH] Fix mail/roundcube when PHP 5.3 is used
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
patch-program_lib_MDB2_Driver_mysqli.php
patch-program_lib_MDB2_Driver_mysqli.php (text/plain), 1.10 KB, created by
dennylin93
on 2010-04-25 03:50:02 UTC
(
hide
)
Description:
patch-program_lib_MDB2_Driver_mysqli.php
Filename:
MIME Type:
Creator:
dennylin93
Created:
2010-04-25 03:50:02 UTC
Size:
1.10 KB
patch
obsolete
>--- program/lib/MDB2/Driver/mysqli.php.orig 2010-04-25 07:45:44.000000000 +0800 >+++ program/lib/MDB2/Driver/mysqli.php 2010-04-25 07:47:11.000000000 +0800 >@@ -1720,7 +1720,9 @@ > if (PEAR::isError($quoted)) { > return $quoted; > } >- $parameters[] = $quoted; >+ $bind_param = 'bind_param' . $i; >+ $$bind_param = $quoted; >+ $parameters[] = &$$bind_param; > $parameters[1].= $this->db->datatype->mapPrepareDatatype($type); > } > ++$i; >@@ -1731,7 +1733,7 @@ > $query.= ' USING @'.implode(', @', array_values($this->positions)); > } else { > $result = @call_user_func_array('mysqli_stmt_bind_param', $parameters); >- if ($result === false) { >+ if ($result !== true) { > $err =& $this->db->raiseError(null, null, null, > 'Unable to bind parameters', __FUNCTION__); > return $err;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 146030
: 105537