Fix "Illegal string offset" warning in rcube::log_bug() on PHP 7.1 (#5508)

pull/5754/head
Aleksander Machniak 8 years ago
parent 455167b5f5
commit 7983a7d63f

@ -12,6 +12,7 @@ CHANGELOG Roundcube Webmail
- Fix bug where IMAP password could be exposed via error message (#5472)
- Fix bug where it wasn't possible to store more that 2MB objects in memcache/apc,
Added memcache_max_allowed_packet and apc_max_allowed_packet settings (#5452)
- Fix "Illegal string offset" warning in rcube::log_bug() on PHP 7.1 (#5508)
RELEASE 1.2.2
-------------

@ -1322,7 +1322,6 @@ class rcube
// write error to local log file
if (($level & 1) || !empty($arg_arr['fatal'])) {
$post_query = '';
if ($_SERVER['REQUEST_METHOD'] == 'POST') {
foreach (array('_task', '_action') as $arg) {
if ($_POST[$arg] && !$_GET[$arg]) {

Loading…
Cancel
Save