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]
/
nieuws
/
index.php
diff --git
a/nieuws/index.php
b/nieuws/index.php
index 18416b32ad342377fe3a5283608b05940e76e99c..0f81de28edcf428bd5dacdc1fa6a945b5751fbe9 100644
(file)
--- a/
nieuws/index.php
+++ b/
nieuws/index.php
@@
-11,7
+11,7
@@
if ($page and !is_numeric($page)) {
if ($edit) {
$Article->title = $edit;
}
- if (
$Article->file
) {
+ if (
isset($Article->raw)
) {
$Place['description'] = $Article->teaser;
}
$Place[1] = ' <small class="date">'.$Article->date.'</small>';