[Tickets #6628] Re: 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:04:34 UTC 2008


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

Ticket URL: http://bugs.horde.org/ticket/6628
-----------------------------------------------------------------------
 Ticket             | 6628
 Updated 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:04) wrote:

(OOPS - sorry) a possible solution:

*** smime.php.org
--- smime.php
***************
*** 825,830 ****
--- 825,831 ----
          }

          $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];






More information about the bugs mailing list