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

View File

@@ -7,6 +7,9 @@ Version 1.7 ()
Version 1.6 ()
------------------------------------------------------------------------
* Fix problem with autosave plugin used in conjunction with
entryproperties (chrisbra)
* Removed browsercompatibilitty plugin because it's outdated and
IE6 shall be dead.

View File

@@ -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'])) {