bugfix: disappearing netries when title starting with a number and using no archive-prefix

This commit is contained in:
onli 2011-12-13 19:11:07 +01:00
parent 1bce14a668
commit df7d1fcb73

View File

@ -252,8 +252,8 @@ if (preg_match(PAT_ARCHIVES, $uri, $matches) || isset($serendipity['GET']['range
}
echo $data;
} else if ( (preg_match(PAT_COMMENTSUB, $uri, $matches) ||
preg_match(PAT_PERMALINK, $uri, $matches) ||
} else if ((preg_match(PAT_PERMALINK, $uri, $matches) ||
preg_match(PAT_COMMENTSUB, $uri, $matches) ||
isset($serendipity['GET']['id']) ||
isset($_GET['p']))
&& !preg_match('/autosave/', $serendipity['uriArguments'][1]) ) {