SF Feature #3298820 - Only custom templates

This commit is contained in:
Deon George
2011-05-14 10:42:12 +10:00
parent 43ae011c0e
commit 7649b9b826
2 changed files with 12 additions and 2 deletions

View File

@@ -48,7 +48,7 @@ class TemplateRender extends PageRender {
$this->page = get_request('page','REQUEST',false,1);
if ($this->template_id) {
if ($this->template_id AND $this->template_id != 'invalid') {
if (! $this->template)
parent::accept();