- . ((x($_GET, 'cid')) ? '&cid=' . rawurlencode($_GET['cid']) : '')
- . ((x($_GET, 'star')) ? '&star=' . rawurlencode($_GET['star']) : '')
- . ((x($_GET, 'bmark')) ? '&bmark=' . rawurlencode($_GET['bmark']) : '')
- . ((x($_GET, 'conv')) ? '&conv=' . rawurlencode($_GET['conv']) : '')
- . ((x($_GET, 'nets')) ? '&nets=' . rawurlencode($_GET['nets']) : '')
- . ((x($_GET, 'cmin')) ? '&cmin=' . rawurlencode($_GET['cmin']) : '')
- . ((x($_GET, 'cmax')) ? '&cmax=' . rawurlencode($_GET['cmax']) : '')
- . ((x($_GET, 'file')) ? '&file=' . rawurlencode($_GET['file']) : '');
+ . (!empty($_GET['cid']) ? '&cid=' . rawurlencode($_GET['cid']) : '')
+ . (!empty($_GET['star']) ? '&star=' . rawurlencode($_GET['star']) : '')
+ . (!empty($_GET['bmark']) ? '&bmark=' . rawurlencode($_GET['bmark']) : '')
+ . (!empty($_GET['conv']) ? '&conv=' . rawurlencode($_GET['conv']) : '')
+ . (!empty($_GET['nets']) ? '&nets=' . rawurlencode($_GET['nets']) : '')
+ . (!empty($_GET['cmin']) ? '&cmin=' . rawurlencode($_GET['cmin']) : '')
+ . (!empty($_GET['cmax']) ? '&cmax=' . rawurlencode($_GET['cmax']) : '')
+ . (!empty($_GET['file']) ? '&file=' . rawurlencode($_GET['file']) : '');