Skip to content

Commit

Permalink
Fix "Illegal string offset" warning in rcube::log_bug() on PHP 7.1 (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
alecpl committed Nov 12, 2016
1 parent 455167b commit 7983a7d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG
Expand Up @@ -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
-------------
Expand Down
1 change: 0 additions & 1 deletion program/lib/Roundcube/rcube.php
Expand Up @@ -1322,7 +1322,6 @@ public static function log_bug($arg_arr)

// 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]) {
Expand Down

0 comments on commit 7983a7d

Please sign in to comment.