[Tickets #1275] NEW: Typo in framework/Crypt/Crypt/smime.php

bugs at bugs.horde.org bugs at bugs.horde.org
Fri Jan 28 12:06:44 PST 2005


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

Ticket URL: http://bugs.horde.org/ticket/?id=1275
-----------------------------------------------------------------------
 Ticket     | 1275
 Created By | olli.korhonen at iki.fi
 Summary    | Typo in framework/Crypt/Crypt/smime.php
 Queue      | Horde Framework Packages
 State      | Unconfirmed
 Priority   | 1. Low
 Type       | Bug
 Owners     | 
-----------------------------------------------------------------------


olli.korhonen at iki.fi (2005-01-28 12:06) wrote:

Another '=' instead of '==' in framework/Crypt/Crypt/smime.php:

diff -u -3 -p -u -r1.50 smime.php
--- framework/Crypt/Crypt/smime.php     3 Jan 2005 13:09:03 -0000      
1.50
+++ framework/Crypt/Crypt/smime.php     28 Jan 2005 20:01:00 -0000
@@ -917,7 +917,7 @@ class Horde_Crypt_smime extends Horde_Cr
                     $val = $val[1][1];
                 }
                 foreach ($val as $usage) {
-                    if ($usage[1] = 'id_kp_clientAuth') {
+                    if ($usage[1] == 'id_kp_clientAuth') {
                         $newVal .= empty($newVal) ? 'TLS Web Client
Authentication' : ', TLS Web Client Authentication';
                     } else {
                         $newVal .= empty($newVal) ? $usage[1] : ', ' .
$usage[1];





More information about the bugs mailing list