git.shiar.nl
/
minimedit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nieuws: support tagged article links
[minimedit.git]
/
nieuws.inc.php
diff --git
a/nieuws.inc.php
b/nieuws.inc.php
index 79f718d4b6585ba0296a7b4cfb1f3581ccab581b..930eb00a2c96a8b4cb415472a462d7fe20148702 100644
(file)
--- a/
nieuws.inc.php
+++ b/
nieuws.inc.php
@@
-54,7
+54,7
@@
class ArchiveArticle
function dateparts()
{
- preg_match('</(\d{4})
/
(\d{2})-(\d{2})->', $this->page, $ymd);
+ preg_match('</(\d{4})
[/-]
(\d{2})-(\d{2})->', $this->page, $ymd);
return $ymd;
}