projects
/
Pman.Cms
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7dbe207
)
Preview.php
author
Alan Knowles
<alan@roojs.com>
Tue, 12 Nov 2013 12:18:39 +0000
(20:18 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 12 Nov 2013 12:18:39 +0000
(20:18 +0800)
Preview.php
patch
|
blob
|
history
diff --git
a/Preview.php
b/Preview.php
index
fc27295
..
080b61f
100644
(file)
--- a/
Preview.php
+++ b/
Preview.php
@@
-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'