Show
Ignore:
Timestamp:
05/19/08 22:45:56 (19 months ago)
Author:
bchoate
Message:

Applied fixes for commentauthoridentity and commentauthor tags. BugId:79329,79811

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-38/php/lib/function.mtcommentauthoridentity.php

    r2109 r2395  
    1717    } 
    1818    if (!$cmntr) return ""; 
    19     if (isset($cmntr['author_url'])) { 
     19    if (is_array($cmntr)) 
     20        $cmntr = $cmntr[0]; 
     21    if (isset($cmntr['author_url'])) 
    2022        $link = $cmntr['author_url']; 
    21     } else { 
    22         return ""; 
    23     } 
    2423    require_once "function.mtstaticwebpath.php"; 
    2524    $static_path = smarty_function_mtstaticwebpath($args, $ctx); 
     
    3938    return $result; 
    4039} 
    41 ?>