page: read file during article object initialisation
[minimedit.git] / 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;
 }