Preview.php
authorAlan Knowles <alan@roojs.com>
Tue, 12 Nov 2013 12:18:39 +0000 (20:18 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 12 Nov 2013 12:18:39 +0000 (20:18 +0800)
Preview.php

index fc27295..080b61f 100644 (file)
@@ -106,7 +106,7 @@ class Pman_Cms_Preview extends Pman
             $x->is_element = 0;
             $x->is_draft = 0;
             if (!$x->get("page_link", $name)) {
-                $this->herr(404);
+                $this->err(404, "$name not found");
             }
             $blocks = $x->children(array(
                 'type'=>'named_blocks'