mirror of
https://github.com/claudehohl/Stikked.git
synced 2025-04-26 04:51:08 -05:00
Fixed issue #295
This commit is contained in:
parent
244f1443f3
commit
768ba95606
@ -925,6 +925,7 @@ class Pastes extends CI_Model
|
|||||||
$this->load->library('process');
|
$this->load->library('process');
|
||||||
$this->db->order_by('id', 'RANDOM');
|
$this->db->order_by('id', 'RANDOM');
|
||||||
$this->db->limit(1);
|
$this->db->limit(1);
|
||||||
|
$this->db->where('private', '0');
|
||||||
$query = $this->db->get('pastes');
|
$query = $this->db->get('pastes');
|
||||||
|
|
||||||
if ($query->num_rows() > 0)
|
if ($query->num_rows() > 0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user