Changeset 70

Show
Ignore:
Timestamp:
06/21/07 09:36:40 (2 years ago)
Author:
pdingle
Message:

fixed signature validation problem brought up by Jim Fox

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-infocard/pwlib/processing/infocard-post-get-claims.php

    r68 r70  
    625625function compareAttributes($a, $b) 
    626626{ 
    627    $a_ns = strncmp($a, "xmlns:", 6); 
    628    $b_ns = strncmp($b, "xmlns:", 6); 
     627       $a_ns = strncmp($a, "xmlns", 5); 
     628               $b_ns = strncmp($b, "xmlns", 5); 
    629629   if ($a_ns != $b_ns){ 
    630630      return ($a_ns == false) ? -1 : 1;