Project

General

Profile

Bug #1343 » 1343_html.patch

comprofiler.html.php - krileon, 09 February 2010 15:57

View differences:

components/com_comprofiler/comprofiler.html.php
}
}
if ( preg_match( '!^(?:(RAND\((\d*)\))\s(ASC|DESC))$!', $row->sortfields, $matches ) ) {
$random = $matches[2];
if ( ! $random ) {
$random = rand( 0, 9999 );
}
$pagingSearch .= '&' . urlencode( 'rand' ) . '=' . urlencode( $random );
}
// Add Javascript to click tr:
$jsClickTr = " {"
. "\n var cbUserURLs = new Array(";
(2-2/2)