Changeset 2503
- Timestamp:
- 06/04/08 03:34:12 (21 months ago)
- Location:
- branches/release-39/php/lib
- Files:
-
- 4 modified
-
function.mtcommentauthor.php (modified) (1 diff)
-
function.mtcommentauthoridentity.php (modified) (1 diff)
-
function.mtcommentauthorlink.php (modified) (1 diff)
-
mtdb_base.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/release-39/php/lib/function.mtcommentauthor.php
r2400 r2503 13 13 if ($c['comment_commenter_id']) { 14 14 $commenter = $ctx->stash('commenter'); 15 if (is_array($commenter))16 $commenter = $commenter[0];17 15 if ($commenter) 18 16 $a = $commenter['author_nickname']; -
branches/release-39/php/lib/function.mtcommentauthoridentity.php
r2395 r2503 17 17 } 18 18 if (!$cmntr) return ""; 19 if (is_array($cmntr))20 $cmntr = $cmntr[0];21 19 if (isset($cmntr['author_url'])) 22 20 $link = $cmntr['author_url']; -
branches/release-39/php/lib/function.mtcommentauthorlink.php
r2411 r2503 26 26 27 27 $cmntr = $ctx->stash('commenter'); 28 if (is_array($cmntr))29 $cmntr = $cmntr[0];30 28 if (!isset($cmntr)) { 31 29 if (isset($comment['comment_commenter_id'])) { -
branches/release-39/php/lib/mtdb_base.php
r2477 r2503 1409 1409 return $this->_author_id_cache[$author_id]; 1410 1410 } 1411 global $mt;1412 $args['blog_id'] = $mt->blog_id;1413 1411 $args['author_id'] = $author_id; 1414 1412 $args['any_type'] = 1;
