[Tickets #6628] PHP Fatal error: Cannot use string offset as an array in ./lib/Horde/Crypt/smime.php on line 830

bugs at horde.org bugs at horde.org
Sat Apr 19 20:00:08 UTC 2008


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/6628
-----------------------------------------------------------------------
 Ticket             | 6628
 Created By         | horde at iiegn.de
 Summary            | PHP Fatal error:  Cannot use string offset as an
array in
                    | ./lib/Horde/Crypt/smime.php on line 830
 Queue              | Horde Framework Packages
 Version            | HEAD
 Type               | Bug
 State              | Unconfirmed
 Priority           | 1. Low
 Milestone          |
 Patch              |
 Owners             |
-----------------------------------------------------------------------


horde at iiegn.de (2008-04-19 16:00) wrote:

when trying to view a s/mime signed message in imp (at least this holds for
my own signed messages - however, signed with a different application) i
get the mentioned php fatal error:

a possible solution:

        $i = 9;
        $cert_data[1][0][1] = array();
        while (isset($cert_data[1][0][1][$i])) {
            $oid = $cert_data[1][0][1][$i][1][0][1];
            $cert_details['certificate']['extensions'][$oid] =
$cert_data[1][0][1][$i][1][1];
            $i++;
        }






More information about the bugs mailing list