Changeset 2395
- Timestamp:
- 05/19/08 22:45:56 (6 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/release-38/php/lib/function.mtcommentauthor.php
r2055 r2395 13 13 if ($c['comment_commenter_id']) { 14 14 $commenter = $ctx->stash('commenter'); 15 if (is_array($commenter)) 16 $commenter = $commenter[0]; 15 17 if ($commenter) 16 18 $a = $commenter['author_nickname']; branches/release-38/php/lib/function.mtcommentauthoridentity.php
r2109 r2395 17 17 } 18 18 if (!$cmntr) return ""; 19 if (isset($cmntr['author_url'])) { 19 if (is_array($cmntr)) 20 $cmntr = $cmntr[0]; 21 if (isset($cmntr['author_url'])) 20 22 $link = $cmntr['author_url']; 21 } else {22 return "";23 }24 23 require_once "function.mtstaticwebpath.php"; 25 24 $static_path = smarty_function_mtstaticwebpath($args, $ctx); … … 39 38 return $result; 40 39 } 41 ?>
