Commit 1e33ac31 authored by Soldatoff's avatar Soldatoff

added a limit for otennik

parent 0b85a318
......@@ -198,6 +198,7 @@ class Typo extends CI_Model {
$this->db->where("site_id", $siteId);
$this->db->where("status", 0);
$this->db->order_by("link","date", "DESC");
if ($siteId == 59) $this->db->limit("100");
return $this->db->get()->result();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment