From db7db9fae7fd8b0223070b3fe38d8e4af02448aa Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 14 May 2012 12:15:36 +0200 Subject: [PATCH] tuning --- htdocs/application/models/pastes.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/htdocs/application/models/pastes.php b/htdocs/application/models/pastes.php index 01f7d41..866afaa 100755 --- a/htdocs/application/models/pastes.php +++ b/htdocs/application/models/pastes.php @@ -324,7 +324,11 @@ class Pastes extends CI_Model $data['replies'][$n]['name'] = $row['name']; $data['replies'][$n]['created'] = $row['created']; $data['replies'][$n]['pid'] = $row['pid']; - $data['replies'][$n]['paste'] = $this->process->syntax(htmlspecialchars_decode($row['raw']) , $row['lang']); + + if ($this->uri->segment(2) == 'rss') + { + $data['replies'][$n]['paste'] = $this->process->syntax(htmlspecialchars_decode($row['raw']) , $row['lang']); + } $data['replies'][$n]['raw'] = $row['raw']; $n++; }