Skip to content

Commit 9d854e3

Browse files
author
Dennis Ploeger
committed
Reverted things from issue #1 and closes #2
1 parent 4a5177e commit 9d854e3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

syntax.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ function handle($match, $state, $pos, &$handler){
5858

5959
preg_match("/:([^~]*)/", $match, $matches);
6060

61-
$id = getID($matches[1]);
61+
$id = $matches[1];
6262

6363
$id_save = $ID;
6464
$ID = $id;
@@ -71,7 +71,9 @@ function handle($match, $state, $pos, &$handler){
7171

7272
} else {
7373

74-
$lastmod = $INFO['lastmod'];
74+
$tmp_info = pageinfo();
75+
76+
$lastmod = $tmp_info['lastmod'];
7577

7678
}
7779

0 commit comments

Comments
 (0)