Limit added for useraccount videos
This commit is contained in:
parent
8fe8143711
commit
0ae8e53ec4
1 changed files with 5 additions and 1 deletions
|
@ -2139,7 +2139,11 @@ class userquery extends CBCategory{
|
|||
global $db;
|
||||
if($cond!=NULL)
|
||||
$cond = " AND $cond ";
|
||||
|
||||
|
||||
if ($myacc) {
|
||||
$cond .= " LIMIT 0,15 ";
|
||||
}
|
||||
|
||||
$results = $db->select(tbl("video"),"*"," userid = '$uid' $cond");
|
||||
if($db->num_rows > 0) {
|
||||
if ($myacc) {
|
||||
|
|
Loading…
Add table
Reference in a new issue