Opened 4 years ago
Closed 4 years ago
#1485879 closed Bugs (fixed)
PHP Fatal error: Cannot redeclare quoted_printable_encode()
| Reported by: | rsc | Owned by: | |
|---|---|---|---|
| Priority: | 5 | Milestone: | 0.3-stable |
| Component: | PHP backend | Version: | 0.2.1 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
With PHP 5.3 RC2, I get the following:
PHP Fatal error: Cannot redeclare quoted_printable_encode() in /data/var/www/roundcubemail/program/include/rcube_imap.php on line 3134
Workaround is putting a function_exists() around the function definition itself (the function anyway seems to be used nowhere?):
if(!function_exists('quoted_printable_encode'))
{
function quoted_printable_encode($input, $line_max=76, $space_conv=false)
{
/* ... */
}
}
Change History (1)
comment:1 Changed 4 years ago by alec
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.

Function removed in [a1fc8d25].