git.shiar.nl
/
minimedit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
page: read file during article object initialisation
[minimedit.git]
/
page.php
diff --git
a/page.php
b/page.php
index a05e158f198960358599af2001522c2f13cc1fc7..cdec9a802b1d55c8bbd46dcb78283e647a65125d 100644
(file)
--- a/
page.php
+++ b/
page.php
@@
-173,7
+173,7
@@
ob_start(); # inner html
print '<div class="static">'."\n\n";
$found = FALSE;
-if (
$Article->file
) {
+if (
isset($Article->raw)
) {
print $Article->raw;
$found = 1;
}