modified : get_user_vids order issue fixed
This commit is contained in:
parent
ddfd47bdd8
commit
d2b237c983
1 changed files with 4 additions and 2 deletions
|
@ -2149,10 +2149,12 @@ class userquery extends CBCategory{
|
|||
$cond = " AND $cond ";
|
||||
|
||||
if ($myacc) {
|
||||
$cond .= " LIMIT 0,15 ";
|
||||
$limit .= " 0,15 ";
|
||||
$order = " videoid DESC";
|
||||
}
|
||||
|
||||
$results = $db->select(tbl("video"),"*"," userid = '$uid' $cond");
|
||||
|
||||
$results = $db->select(tbl("video"),"*"," userid = '$uid' $cond","$limit","$order");
|
||||
if($db->num_rows > 0) {
|
||||
if ($myacc) {
|
||||
return $results;
|
||||
|
|
Loading…
Add table
Reference in a new issue