mirror of
https://github.com/claudehohl/Stikked.git
synced 2025-04-26 04:51:08 -05:00
iphone fix
This commit is contained in:
parent
0910dca1e4
commit
d39651f4e6
@ -346,7 +346,7 @@ class Pastes extends CI_Model
|
|||||||
{
|
{
|
||||||
$page = $this->uri->segment(2);
|
$page = $this->uri->segment(2);
|
||||||
}
|
}
|
||||||
$this->db->select('title, name, created, pid, lang, raw');
|
$this->db->select('id, title, name, created, pid, lang, raw');
|
||||||
$this->db->where('private', 0);
|
$this->db->where('private', 0);
|
||||||
$this->db->order_by('created', 'desc');
|
$this->db->order_by('created', 'desc');
|
||||||
$query = $this->db->get('pastes', $amount, $page);
|
$query = $this->db->get('pastes', $amount, $page);
|
||||||
@ -356,6 +356,7 @@ class Pastes extends CI_Model
|
|||||||
$n = 0;
|
$n = 0;
|
||||||
foreach ($query->result_array() as $row)
|
foreach ($query->result_array() as $row)
|
||||||
{
|
{
|
||||||
|
$data['pastes'][$n]['id'] = $row['id'];
|
||||||
$data['pastes'][$n]['title'] = $row['title'];
|
$data['pastes'][$n]['title'] = $row['title'];
|
||||||
$data['pastes'][$n]['name'] = $row['name'];
|
$data['pastes'][$n]['name'] = $row['name'];
|
||||||
$data['pastes'][$n]['created'] = $row['created'];
|
$data['pastes'][$n]['created'] = $row['created'];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user