Limit added for useraccount videos

This commit is contained in:
Saqib Razzaq 2016-06-08 23:10:46 -07:00
parent 8fe8143711
commit 0ae8e53ec4

View file

@ -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) {