Changeset 2686

Show
Ignore:
Timestamp:
07/03/08 00:38:45 (20 months ago)
Author:
bchoate
Message:

Made TagSearchLink php tag consistent with Perl.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-41/php/lib/function.mttagsearchlink.php

    r2440 r2686  
    2929    } 
    3030 
    31     if ( $param ) 
    32         $param .= '&'; 
    33     $param .= 'limit=' . $ctx->mt->config('MaxResults'); 
    3431    require_once "function.mtcgipath.php"; 
    3532    $search = smarty_function_mtcgipath($args, $ctx); 
    3633    $search .= $ctx->mt->config('SearchScript'); 
    37     return $search . '?tag=' . urlencode($name) . ($param ? '&' . $param : ''); 
     34    $link = $search . '?' . $param . ($param ? '&' : '') 
     35        . 'tag=' . urlencode($name); 
     36    $link .= '&limit=' . $ctx->mt->config('MaxResults'); 
     37    return $link; 
    3838} 
    39 ?>