1
0

fix for autosave

This commit is contained in:
Garvin Hicking
2011-09-09 09:24:23 +00:00
parent d83bb9fe16
commit d405035d40
2 changed files with 6 additions and 2 deletions

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